Codeforces Raif Round 1 (Div. 1 + Div. 2) A. Box is Pull

NoSuchKey