
def 	_snake_case						(      A_       :    list   ):
  """simple docstring"""







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

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


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




'''simple docstring'''

from torch import nn






def 	_snake_case						(      A_       :    Dict   ):
  """simple docstring"""







  if act_fn in ["swish", "silu"]:
    return nn.SiLU()
  elif act_fn == "mish":
    return nn.Mish()
  elif act_fn == "gelu":
    return nn.GELU()
  else:
    raise ValueError(f'''Unsupported activation function: {act_fn}'''   )


