Codeforces Round #539 (Div. 2) C. Sasha and a Bit of Relax

NoSuchKey