Codeforces Round #614 (Div. 2) B - JOE is on TV! (简单贪心)

NoSuchKey