manas agrawal's submission of Reversing directions | CodeChef