




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

      for i in range(1						,len(lowercase					) - 1						,2					):  # iterating over all odd indices
         if input_list[i] > input_list[i + 1]:
            snake_case     , snake_case				:    List[str]           =	input_list[i + 1], input_list[i]
            # swapping if elements not in order
            snake_case				:    List[str]           =	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	:	Optional[Any]				=   odd_even_sort(input_list)
       print('The sorted list is')
       print(sorted_list)











import warnings
from functools import wraps
from typing import Callable




def 						SCREAMING_SNAKE_CASE__ (   lowercase					)  ->       Callable:

   @wraps(lowercase					)
   def _inner_fn(*lowercase						,**lowercase					):
      warnings.warn(
          (f"""'{fn.__name__}' is experimental and might be subject to breaking changes in the future.""")						,lowercase						,)
      return fn(*lowercase						,**lowercase					)

   return _inner_fn





