Srinivas Devaki's submission of Reversing directions | CodeChef