codeforces1141C Polycarp Restores Permutation

NoSuchKey