Roman Kachur's submission of Way Out | CodeChef