Codeforces Round #621 (Div. 1 + Div. 2)B Cow and Friend

NoSuchKey