提交时间:2024-11-22 20:34:09

运行 ID: 301182

n=int(input()) a=1 while a <= n: if a % 2 == 0 and a % 3!=0: print(a) a+=1