Codeforces Round #635 C. Linova and Kingdom

NoSuchKey