



"""simple docstring"""






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

      for i in range(1      ,len(__SCREAMING_SNAKE_CASE			) - 1      ,2			):  # iterating over all odd indices
         if input_list[i] > input_list[i + 1]:
            __lowerCAmelCase		,			__lowerCAmelCase   :						Union[str, Any]				= input_list[i + 1], input_list[i]
            # swapping if elements not in order
            __lowerCAmelCase   :						Optional[int]				= False
   return input_list


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




"""simple docstring"""






from ..utils import DummyObject, requires_backends



class     A__     (						metaclass=__SCREAMING_SNAKE_CASE							):




	'''simple docstring'''





	SCREAMING_SNAKE_CASE					   =			['torch', 'scipy']

	def __init__(  self:	Tuple ,    *_SCREAMING_SNAKE_CASE:	Dict ,    **_SCREAMING_SNAKE_CASE:	str)       -> Union[str, Any]:

				"""simple docstring"""

				requires_backends(self ,    ["torch", "scipy"])

	@classmethod
	def 							_SCREAMING_SNAKE_CASE     (  cls:	Optional[Any] ,    *_SCREAMING_SNAKE_CASE:	Tuple ,    **_SCREAMING_SNAKE_CASE:	Optional[Any])       -> Optional[Any]:

				"""simple docstring"""

				requires_backends(cls ,    ["torch", "scipy"])







	@classmethod
	def 							_SCREAMING_SNAKE_CASE     (  cls:	int ,    *_SCREAMING_SNAKE_CASE:	List[Any] ,    **_SCREAMING_SNAKE_CASE:	Dict)       -> Union[str, Any]:

				"""simple docstring"""

				requires_backends(cls ,    ["torch", "scipy"])