vinay raj 's submission of Way Out | CodeChef