Codeforces 1029C Maximal Intersection

NoSuchKey