
"""simple docstring"""
def 				lowercase      (_lowerCAmelCase				,  _lowerCAmelCase		):
						if len(str(_lowerCAmelCase		)		) == 1 or len(str(_lowerCAmelCase		)		) == 1:
												return a * b

						__lowerCAmelCase        =       max(len(str(_lowerCAmelCase		)		)				,  len(str(_lowerCAmelCase		)		)		)
						__lowerCAmelCase        =       ma // 2

						__lowerCAmelCase ,      __lowerCAmelCase        =       divmod(_lowerCAmelCase				,  10**ma		)
						__lowerCAmelCase ,      __lowerCAmelCase        =       divmod(_lowerCAmelCase				,  10**ma		)

						__lowerCAmelCase        =       karatsuba(_lowerCAmelCase				,  _lowerCAmelCase		)
						__lowerCAmelCase        =       karatsuba((aa + aa)				,  (ba + ba)		)
						__lowerCAmelCase        =       karatsuba(_lowerCAmelCase				,  _lowerCAmelCase		)

						return (z * 10 ** (2 * ma)) + ((y - z - x) * 10 ** (ma)) + (x)

def 				lowercase      ():
						print(karatsuba(1_5463				,  2_3489		)		)


if __name__ == "__main__":
			main()


"""simple docstring"""
from __future__ import annotations
class      lowerCAmelCase_						:



							'''simple docstring'''





							def __init__(				self  ,							snake_case_							)   ->       None:
													__lowerCAmelCase        =       data
													__lowerCAmelCase        =       None
class      lowerCAmelCase_						:



							'''simple docstring'''





							def __init__(				self							)   ->       List[str]:
													__lowerCAmelCase        =       None




							def  A__		(				self  ,							snake_case_							)   ->       int:
													__lowerCAmelCase        =       Node(snake_case_							)
													__lowerCAmelCase        =       self.head
													__lowerCAmelCase        =       new_node
													return self.head.data




							def  A__		(				self							)   ->       int | None:
													__lowerCAmelCase        =       self.head
													__lowerCAmelCase        =       self.head
													if self.head:
																			while fast_pointer and fast_pointer.next:
																									__lowerCAmelCase        =       fast_pointer.next.next
																									__lowerCAmelCase        =       slow_pointer.next
																			return slow_pointer.data
													else:
																			print("""No element found."""							)
																			return None


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