【Codeforces 986B】Petr and Permutations

NoSuchKey