





'''simple docstring'''






def    lowercase_   (		lowercase__ = 1000    ) ->int:
						_snake_case: int	       =		0
						for i in range(lowercase__    ):
												if i % 3 == 0 or i % 5 == 0:
																		result += i
						return result


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() = }')





