Erfan Alimohammadi's submission of Sereja and Sorting 2 | CodeChef