




'''simple docstring'''


from __future__ import annotations






class 	lowerCAmelCase_  :







		'''simple docstring'''

		def __init__(   self							:       Tuple				,     SCREAMING_SNAKE_CASE_							:       Tuple  ) ->		List[str]:







							'''simple docstring'''



							A:		Any        =		data
							A:		List[Any]        =		None






class 	lowerCAmelCase_  :







		'''simple docstring'''

		def __init__(   self							:       Any  ) ->		int:







							'''simple docstring'''



							A:		Any        =		None



		def 				_snake_case    (   self							:       Optional[Any]				,     SCREAMING_SNAKE_CASE_							:       Dict  ) ->		Optional[int]:







							'''simple docstring'''



							A:		Dict        =		Node(lowerCamelCase__  )
							A:		Tuple        =		self.head
							A:		Tuple        =		new_node
							return self.head.data




		def 				_snake_case    (   self							:       int  ) ->		str:







							'''simple docstring'''



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


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












'''simple docstring'''


def 				SCREAMING_SNAKE_CASE(      __lowercase  ) ->   int:
     A:		str        =		str(__lowercase  ).strip()
     if not bin_string:
          raise ValueError('''Empty string was passed to the function'''  )
     A:		int        =		bin_string[0] == '''-'''
     if is_negative:
          A:		Optional[Any]        =		bin_string[1:]
     if not all(char in '''01''' for char in bin_string  ):
          raise ValueError('''Non-binary value was passed to the function'''  )
     A:		Any        =		0
     for char in bin_string:
          A:		Dict        =		2 * decimal_number + int(__lowercase  )
     return -decimal_number if is_negative else decimal_number


if __name__ == "__main__":
     from doctest import testmod

     testmod()






