Educational Codeforces Round 16 D. Two Arithmetic Progressions

NoSuchKey