https://videosashka.com/watch/gLmHdVUZfek/product-function-in-python-hackerrank-python-itertools