Nikolay Domashenko's submission of Pair Pain | CodeChef