提交时间:2024-11-29 20:28:18

运行 ID: 302203

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