Run ID:72213
提交时间:2024-05-04 13:40:15
a = {} N = 300001 id = 1 for i in range(1, N): if i % 3 == 0 or i % 5 == 0: a[id] = i id += 1 while True: try: N = int(input()) print(a[N]) except: break