Codeforces Round #597 (Div. 2) B. Restricted RPS

NoSuchKey