Nikolay Domashenko's submission of Motivation | CodeChef