Devesh Agarwal's submission of The Great Escape | CodeChef