Sarthak Chauhan's submission of To and Fro | CodeChef