Nikolay Domashenko's submission of Maximum Trio | CodeChef