Anurag Pandey's submission of Way Out | CodeChef