Shreyans Sheth's submission of Reversing directions | CodeChef