Devu, the Singer and Churu, the Joker

CodeForces - 439A