





def A_	(		A__ = 1000				)  ->		int:
       return sum(e for e in range(3		,      A__				) if e % 3 == 0 or e % 5 == 0				)


if __name__ == "__main__":
    print(F"""{solution() = }""")









from math import loga



def A_	(		A__				)  ->		int:
       if a < 0:
              raise ValueError('Input value must be a positive integer'				)
       elif isinstance(A__		,      A__				):
              raise TypeError('Input value must be a \'int\' type'				)
       return 0 if (a == 0) else int(loga(a & -a				)				)


if __name__ == "__main__":
    import doctest

    doctest.testmod()


