<gh_stars>0

if __name__ == '__main__':
    """
    """
    print sum([a for a in range(1, 1000) if a % 3 == 0 or a % 5 == 0])

if __name__ == '__main__':
    """
    """
    print sum([a for a in range(1, 1000) if a % 3 == 0 or a % 5 == 0])