Anton Tsypko's submission of Sereja and Permutations 3 | CodeChef