



'''simple docstring'''



def 							__UpperCAmelCase				(				UpperCamelCase__				:int = 1000			)		->						int:
				return sum(i for i in range(UpperCamelCase__			) if i % 3 == 0 or i % 5 == 0			)


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











'''simple docstring'''






def    lowercase_   (		lowercase__ = 400_0000    ) ->int:

						if n <= 1:
												return 0
						_snake_case: Union[str, Any]	       =		0
						_snake_case: List[Any]	       =		2
						_snake_case: Any	       =		0
						while 4 * b + a <= n:
												_snake_case       ,    _snake_case: int	       =		b, 4 * b + a
												count += a
						return count + b


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





