結果 : itertools.permutations() hackerrank solution