Sergey Kulik's submission of Sereja and Sorting 2 | CodeChef