

"""simple docstring"""


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







"""simple docstring"""


import re

from filelock import FileLock


try:
  import nltk

  UpperCAmelCase													=True
except (ImportError, ModuleNotFoundError):
  UpperCAmelCase													=False

if NLTK_AVAILABLE:
  with FileLock(".lock") as lock:
    nltk.download("punkt", quiet=True)



def   _A					(	_a	:						str				):



      """simple docstring"""






      re.sub("""<n>"""     ,   """"""     ,   _a				)  # remove pegasus newline char
      assert NLTK_AVAILABLE, "nltk must be installed to separate newlines between sentences. (pip install nltk)"
      return "\n".join(nltk.sent_tokenize(_a				)				)




