Run ID:72860

提交时间:2024-05-13 14:06:35

a = [0] id = 1 for i in range(1, 99999): if i % 3 == 0 or i % 5 == 0: a.append(i) id += 1 if id > 100001: break while True: try: N = int(input()) print(a[N]) except: break