Nikolay Domashenko's submission of Collisions | CodeChef