This problem is in Contest(s) below:
Contest 131:2025暑期集训初级-Day2
Contest 170:202509GESP二级考前练习(二)
Contest 255:周一班(二级):素数2