Codeforces Round #516 Div. 2 D. Labyrinth

NoSuchKey