




from __future__ import annotations





class 		A__				:






	def __init__(	self				,     lowerCamelCase						)      ->   None:




						"""simple docstring"""






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





class 		A__				:






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




						"""simple docstring"""






						__magic_name__					:							str		   =							None






	def  lowercase      (	self				,     lowerCamelCase						)      ->   int:




						"""simple docstring"""






						__magic_name__					:							List[str]		   =							Node(lowerCamelCase						)
						__magic_name__					:							int		   =							self.head
						__magic_name__					:							Optional[int]		   =							new_node
						return self.head.data






	def  lowercase      (	self						)      ->   int | None:




						"""simple docstring"""






						__magic_name__					:							List[str]		   =							self.head
						__magic_name__					:							Dict		   =							self.head
						if self.head:
											while fast_pointer and fast_pointer.next:
																__magic_name__					:							Optional[int]		   =							fast_pointer.next.next
																__magic_name__					:							Optional[Any]		   =							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())









def  lowerCAmelCase  (	UpperCAmelCase       )  ->str:






					"""simple docstring"""






					return " ".join(sorted(set(sentence.split()       )       )       )


if __name__ == "__main__":
				import doctest

				doctest.testmod()



