Abhijeet Krishnan's submission of Way Out | CodeChef