Codeforces Round #495 C. Sonya and Robots

NoSuchKey