cmd2do's submission of Way Out | CodeChef