




"""simple docstring"""

def 		_snake_case	(   _snake_case				:   list				)       ->   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(_snake_case				) - 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(_snake_case				) - 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''')
       a							      =     [int(x) for x in input().split()]
       # inputing elements of the list in one line
       a							      =     odd_even_sort(input_list)
       print('''The sorted list is''')
       print(sorted_list)







"""simple docstring"""

def 		_snake_case	(   _snake_case				:   str				)       ->   str:






      '''simple docstring'''


      return " ".join(
          ''.join(word[::-1]				) if len(_snake_case				) > 4 else word for word in sentence.split()				)


if __name__ == "__main__":
       import doctest

       doctest.testmod()
       print(reverse_long_words('''Hey wollef sroirraw'''))

