ankit sagwekar's submission of Way Out | CodeChef