Tomek Czajka's submission of Sorting device | CodeChef