Codeforces Round #495 (Div. 2) Sonya and Matrix

NoSuchKey