Hackerrank itertools.product() | Solution