



from ..utils import DummyObject, requires_backends

class 					lowercase						(	metaclass=__UpperCamelCase ):




       '''simple docstring'''







       __SCREAMING_SNAKE_CASE										=					["""torch""", """librosa"""]






       def __init__(						self		,       *_snake_case		,       **_snake_case   )					->		Dict:

           """simple docstring"""
           requires_backends(self		,       ['''torch''', '''librosa''']   )






       @classmethod
       def 				snake_case_ (						cls		,       *_snake_case		,       **_snake_case   )					->		Dict:

           """simple docstring"""
           requires_backends(cls		,       ['''torch''', '''librosa''']   )






       @classmethod
       def 				snake_case_ (						cls		,       *_snake_case		,       **_snake_case   )					->		List[str]:

           """simple docstring"""
           requires_backends(cls		,       ['''torch''', '''librosa''']   )

class 					lowercase						(	metaclass=__UpperCamelCase ):




       '''simple docstring'''







       __SCREAMING_SNAKE_CASE										=					["""torch""", """librosa"""]






       def __init__(						self		,       *_snake_case		,       **_snake_case   )					->		Union[str, Any]:

           """simple docstring"""
           requires_backends(self		,       ['''torch''', '''librosa''']   )






       @classmethod
       def 				snake_case_ (						cls		,       *_snake_case		,       **_snake_case   )					->		Any:

           """simple docstring"""
           requires_backends(cls		,       ['''torch''', '''librosa''']   )






       @classmethod
       def 				snake_case_ (						cls		,       *_snake_case		,       **_snake_case   )					->		Union[str, Any]:

           """simple docstring"""
           requires_backends(cls		,       ['''torch''', '''librosa''']   )








from __future__ import annotations


class        A_					:




      '''simple docstring'''


      def __init__(				self:       Union[str, Any]						,      a:       int				):
       __lowerCamelCase		:							List[Any]							=						data
       __lowerCamelCase		:							Optional[Any]							=						None



class        A_					:




      '''simple docstring'''


      def __init__(				self:       Dict				):
       __lowerCamelCase		:							Dict							=						None




      def      _snake_case	(				self:       Dict						,      a:       int				):
       __lowerCamelCase		:							List[Any]							=						Node(a				)
       __lowerCamelCase		:							Dict							=						self.head
       __lowerCamelCase		:							Optional[int]							=						new_node
       return self.head.data




      def      _snake_case	(				self:       Optional[Any]				):
       __lowerCamelCase		:							Union[str, Any]							=						self.head
       __lowerCamelCase		:							List[Any]							=						self.head
       if self.head:
        while fast_pointer and fast_pointer.next:
         __lowerCamelCase		:							Any							=						fast_pointer.next.next
         __lowerCamelCase		:							str							=						slow_pointer.next
        return slow_pointer.data
       else:
        print('No element found.'				)
        return None


if __name__ == "__main__":
       lowercase_           =	LinkedList()
       for _ in range(int(input().strip())):
              lowercase_           =	int(input().strip())
              link.push(data)
       print(link.middle_element())

