Codeforces Round #132(Div2) A.Bicycle Chain

NoSuchKey