Shivam Mahendru's submission of The Riddler | CodeChef