Nikolay Domashenko's submission of Max power | CodeChef