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

NoSuchKey