Codeforces Round #613 (Div. 2) C. Fadi and LCM

NoSuchKey