提交时间:2024-11-22 20:26:30

运行 ID: 301166

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