Karthik's submission of Collisions | CodeChef