This problem is in Contest(s) below:
Contest 5149:AK郦老师 入门C班 质数合数最大公因数最小公倍数 家庭作业