Shilp Gupta's submission of Reversing directions | CodeChef