Shubham Gupta's submission of Way Out | CodeChef