Devesh Agarwal's submission of Hail XOR | CodeChef