Codeforces-Round#547(Div.3)-C-Polycarp Restores Permutation

NoSuchKey