Anton Lunyov's submission of Sorting device | CodeChef