Codeforces Round #549 (Div. 2) B. Nirvana

NoSuchKey