Ritesh's submission of Way Out | CodeChef