






'''simple docstring'''


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

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


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












import requests






def      _snake_case     (__lowercase     ,   __lowercase):
   UpperCamelCase_						=  {'Content-Type': 'application/json'}
   UpperCamelCase_						=  requests.post(__lowercase     ,   json={'text': message_body}     ,   headers=__lowercase)
   if response.status_code != 200:
      UpperCamelCase_						=  (
          'Request to slack returned an error '
          f"""{response.status_code}, the response is:\n{response.text}"""
      )
      raise ValueError(__lowercase)


if __name__ == "__main__":
 # Set the slack url to the one provided by Slack when you create the webhook at
 # https://my.slack.com/services/new/incoming-webhook/
 send_slack_message("""<YOUR MESSAGE BODY>""", """<SLACK CHANNEL URL>""")





