




'''simple docstring'''


def 		snake_case_   (UpperCamelCase	:  list				):





							'''simple docstring'''


							_a     					=    False
							while is_sorted is False:  # Until all the indices are traversed keep looping
														_a     					=    True
														for i in range(0			,						len(UpperCamelCase				) - 1			,						2				):  # iterating over all even indices
																					if input_list[i] > input_list[i + 1]:
																												_a					,							_a     					=    input_list[i + 1], input_list[i]
																												# swapping if elements not in order
																												_a     					=    False

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


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







'''simple docstring'''


from ..utils import DummyObject, requires_backends

class       A   (		metaclass=_a   ):
							lowercase_          =    ['torch', 'scipy']







							def __init__(  self	:  Tuple							,      *lowerCAmelCase_	:  str							,      **lowerCAmelCase_	:  Any )      ->							Tuple:


														"""simple docstring"""


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







							@classmethod
							def        __lowerCAmelCase      (  cls	:  Dict							,      *lowerCAmelCase_	:  Dict							,      **lowerCAmelCase_	:  str )      ->							Tuple:


														"""simple docstring"""


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







							@classmethod
							def        __lowerCAmelCase      (  cls	:  Optional[int]							,      *lowerCAmelCase_	:  str							,      **lowerCAmelCase_	:  List[str] )      ->							str:


														"""simple docstring"""


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

