






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

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


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













import numpy as np






def      _snake_case     (__lowercase):
   return 1 / (1 + np.exp(-vector))






def      _snake_case     (__lowercase):
   return vector * sigmoid(__lowercase)


if __name__ == "__main__":
 import doctest

 doctest.testmod()





