Ankan's submission of REVERSE | CodeChef