Codeforces Round #506 (Div. 3) C. Maximal Intersection

NoSuchKey