Mayank Tuteja's submission of Way Out | CodeChef