Shubham Barai's submission of Way Out | CodeChef