Java Multi Sum Program Hackerrank Python Interview