#created by duknust
#find in https://github.com/Duknust

sum = 0
for i in range (0,1000):
  if(i%3==0 or i%5==0):
    sum+=i;
  if i==1000:
    print "tambem fui ao 1000"
print sum
7321ed44289c64ac9875dacb6fe5cd13e7563cfd
#created by duknust
#find in https://github.com/Duknust

sum = 0
for i in range (0,1000):
  if(i%3==0 or i%5==0):
    sum+=i;
  if i==1000:
    print "tambem fui ao 1000"
print sum