codeforces 518 A. Vitaly and Strings

NoSuchKey