codeforces 482C Game with Strings

NoSuchKey