
'''simple docstring'''







def        SCREAMING_SNAKE_CASE__			(     __A = 1_000			) ->			int:
	return sum(e for e in range(3    ,       __A			) if e % 3 == 0 or e % 5 == 0			)


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



'''simple docstring'''







from __future__ import annotations







def        SCREAMING_SNAKE_CASE__			(     __A			) ->			int:
	if not nums:
		return 0
	_snake_case     		=	nums[0]
	_snake_case     		=	0
	for num in nums[1:]:
		_snake_case		,				_snake_case     		=	(
		    max_excluding + num,
		    max(__A    ,       __A			),
		)
	return max(__A    ,       __A			)


if __name__ == "__main__":
					import doctest

					doctest.testmod()

