






def       snake_case_		(     lowerCAmelCase_       :						list      ):
							__lowercase      :							Union[str, Any]				=     False
							while is_sorted is False:  # Until all the indices are traversed keep looping
														__lowercase      :							List[Any]				=     True
														for i in range(0       ,       len(lowerCAmelCase_      ) - 1       ,       2      ):  # iterating over all even indices
																					if input_list[i] > input_list[i + 1]:
																												__lowercase			,			__lowercase      :							int				=     input_list[i + 1], input_list[i]
																												# swapping if elements not in order
																												__lowercase      :							Any				=     False

														for i in range(1       ,       len(lowerCAmelCase_      ) - 1       ,       2      ):  # iterating over all odd indices
																					if input_list[i] > input_list[i + 1]:
																												__lowercase			,			__lowercase      :							int				=     input_list[i + 1], input_list[i]
																												# swapping if elements not in order
																												__lowercase      :							Dict				=     False
							return input_list


if __name__ == "__main__":
	print('''Enter list to be sorted''')
	lowerCamelCase : List[str]						   =       [int(x) for x in input().split()]
	# inputing elements of the list in one line
	lowerCamelCase : List[Any]						   =       odd_even_sort(input_list)
	print('''The sorted list is''')
	print(sorted_list)







import warnings

from ...utils import logging
from .image_processing_beit import BeitImageProcessor


lowerCamelCase : Union[str, Any]						   =       logging.get_logger(__name__)

class 		lowerCAmelCase     ( __a			):

					'''simple docstring'''

					def __init__(  self				:	int		,     *__a				:	Dict		,     **__a				:	Optional[Any]							)			->  None:


												"""simple docstring"""

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