Tanmay Datta's submission of Way Out | CodeChef