提交时间:2024-11-22 20:33:55

运行 ID: 301181

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