'''simple docstring'''

from __future__ import annotations


def        UpperCAmelCase__   (				_lowerCAmelCase    :			list[int | float])    ->		int | float:



						"""simple docstring"""

						if len(_lowerCAmelCase) == 0:
												raise ValueError("find_max() arg is an empty sequence")
						snake_case :       Any				=    nums[0]
						for x in nums:
												if x > max_num:
																		snake_case :       int				=    x
						return max_num


if __name__ == "__main__":
						import doctest

						doctest.testmod(verbose=True)






'''simple docstring'''

def        UpperCAmelCase__   (				_lowerCAmelCase    :			int = 400_0000)    ->		int:



						"""simple docstring"""

						snake_case :       List[Any]				=    1
						snake_case :       int				=    2
						snake_case :       List[str]				=    0
						while j <= n:
												if j % 2 == 0:
																		total += j
												snake_case				,					snake_case :       Any				=    j, i + j

						return total


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





