Volodymyr Radyuk's submission of Way Out | CodeChef