Educational Codeforces Round 52: E. Side Transmutations(burnside引理)

NoSuchKey