from __future__ import annotations






class 		a__						:

					def __init__(   self				:	Union[str, Any],_A				:	int   ):







							"""simple docstring"""






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







class 		a__						:

					def __init__(   self				:	Optional[int]   ):







							"""simple docstring"""






							SCREAMING_SNAKE_CASE_  :		Optional[Any]    				=   None

					def     __UpperCamelCase       (   self				:	Optional[int],_A				:	int   ):







							"""simple docstring"""






							SCREAMING_SNAKE_CASE_  :		Tuple    				=   Node(_A   )
							SCREAMING_SNAKE_CASE_  :		int    				=   self.head
							SCREAMING_SNAKE_CASE_  :		Optional[Any]    				=   new_node
							return self.head.data






					def     __UpperCamelCase       (   self				:	Optional[Any]   ):







							"""simple docstring"""






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


if __name__ == "__main__":
		__lowerCamelCase :     Any          =  LinkedList()
		for _ in range(int(input().strip())):
				__lowerCamelCase :     List[str]          =  int(input().strip())
				link.push(data)
		print(link.middle_element())

import warnings

from ...utils import logging
from .image_processing_vit import ViTImageProcessor


__lowerCamelCase :     Tuple          =  logging.get_logger(__name__)






class 		a__						( A__ ):

					def __init__(   self				:	List[Any],*_A				:	Union[str, Any],**_A				:	List[Any]   ):







							"""simple docstring"""






							warnings.warn(
							    "The class ViTFeatureExtractor is deprecated and will be removed in version 5 of Transformers. Please"
							    " use ViTImageProcessor instead.",_A,)
							super().__init__(*_A,**_A   )
