


'''simple docstring'''






from __future__ import annotations




class 		a__				:





							'''simple docstring'''






							def __init__(		self					,    lowerCamelCase_   )       ->							None:
														lowerCAmelCase__          =	data
														lowerCAmelCase__          =	None




class 		a__				:





							'''simple docstring'''






							def __init__(		self   )       ->							str:
														lowerCAmelCase__          =	None







							def   __SCREAMING_SNAKE_CASE							(		self					,    lowerCamelCase_   )       ->							int:
														lowerCAmelCase__          =	Node(lowerCamelCase_   )
														lowerCAmelCase__          =	self.head
														lowerCAmelCase__          =	new_node
														return self.head.data







							def   __SCREAMING_SNAKE_CASE							(		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__":
		__UpperCAmelCase    				=							LinkedList()
		for _ in range(int(input().strip())):
				__UpperCAmelCase    				=							int(input().strip())
				link.push(data)
		print(link.middle_element())



'''simple docstring'''






from __future__ import annotations


def 					_snake_case   (     A ,    A       )						->    list[int]:
							lowerCAmelCase__          =	{}
							for index, val in enumerate(A       ):
														lowerCAmelCase__          =	target - val
														if compl in chk_map:
																					return [chk_map[compl], index]
														lowerCAmelCase__          =	index
							return []


if __name__ == "__main__":
		import doctest

		doctest.testmod()
		print(f"""{two_sum([2, 7, 11, 15], 9) = }""")