Shishir Khandelwal's submission of Way Out | CodeChef