結果 : itertools.product() hackerrank solution