Satyam Pandey's submission of Way Out | CodeChef