提交时间:2024-12-13 20:07:36

运行 ID: 304117

n =int(input()) for a in range(2,n+1): if a % 2==0 and a % 3!=0: print(a)