#! /usr/local/bin/python

print sum(i for i in xrange(1,1000) if (((i % 3) == 0) or ((i % 5) == 0)))

fba5a1d152148cea94169502ca5becae42a7e95c
#! /usr/local/bin/python

print sum(i for i in xrange(1,1000) if (((i % 3) == 0) or ((i % 5) == 0)))
