Run ID:58789

提交时间:2023-10-01 14:37:41

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