Anmol's submission of To and Fro | CodeChef