Nikolay Domashenko's submission of Count the Notebooks | CodeChef