Shreyas Jain's submission of The Escape | CodeChef