CodeForces - 618B Guess the Permutation

NoSuchKey