Run ID:72859
提交时间:2024-05-13 14:06:15
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 > 10001: break while True: try: N = int(input()) print(a[N]) except: break