Run ID:58794

提交时间:2023-10-01 14:57:31

n=int(input()) count=0 for i in range(1,n+1): if i%3==0 and i%5==0: count+=i print(count)