Nikolay Domashenko's submission of Counting Words | CodeChef