Educational Codeforces Round 34 E Swapping Characters

NoSuchKey