






"""simple docstring"""
from __future__ import annotations

from typing import Any



class 		a_      :







      '''simple docstring'''

      def __init__(self,     lowerCamelCase_,     lowerCamelCase_					):  # noqa: A002

       '''simple docstring'''



       lowerCamelCase__     :			Optional[Any]     				=						item
       lowerCamelCase__     :			Optional[Any]     				=						next



class 		a_      :







      '''simple docstring'''

      def __init__(self					):

       '''simple docstring'''



       lowerCamelCase__     :			str     				=						None
       lowerCamelCase__     :			List[Any]     				=						0




      def 			a__							(self,     lowerCamelCase_					):

       '''simple docstring'''



       lowerCamelCase__     :			List[Any]     				=						Node(_lowerCamelCase,     self.head					)
       self.size += 1




      def 			a__							(self					):

       '''simple docstring'''



       if self.head is None:
        return None
       else:
        lowerCamelCase__     :			Optional[Any]     				=						self.head.item
        lowerCamelCase__     :			Tuple     				=						self.head.next
        self.size -= 1
        return item




      def 			a__							(self					):

       '''simple docstring'''



       return self.head is None




      def __str__(self					):

       '''simple docstring'''



       if self.is_empty():
        return ""
       else:
        lowerCamelCase__     :			Optional[Any]     				=						self.head
        lowerCamelCase__     :			int     				=						''
        lowerCamelCase__     :			Union[str, Any]     				=						[]
        while iterate:
         item_list.append(str(iterate.item					)					)
         lowerCamelCase__     :			int     				=						iterate.next

        lowerCamelCase__     :			Union[str, Any]     				=						' --> '.join(_lowerCamelCase					)

        return item_str





      def __len__(self					):

       '''simple docstring'''



       return self.size


"""simple docstring"""


from __future__ import annotations





def 			lowerCamelCase_ (					__lowerCAmelCase				)							->					int | float:




						'''simple docstring'''



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


if __name__ == "__main__":
	import doctest

	doctest.testmod(verbose=True)


