Codeforces Round #549 (Div. 2)A. The Doors

NoSuchKey