Codeforces #571 C Vus the Cossack and Strings

NoSuchKey