Run ID:86618

提交时间:2024-07-26 23:55:57

while True: n=int(input()) res=0 for x in range(1,100001): if x%3==0 or x%5==0: res+=1 if res==n: print(x)