"""simple docstring"""






def   a_						(					lowerCamelCase       ):
				UpperCAmelCase__             =							False
				while is_sorted is False:  # Until all the indices are traversed keep looping
								UpperCAmelCase__             =							True
								for i in range(0					,			len(lowerCamelCase       ) - 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(lowerCamelCase       ) - 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')
						lowerCAmelCase__  :  Dict						     =	[int(x) for x in input().split()]
						# inputing elements of the list in one line
						lowerCAmelCase__  :  List[Any]						     =	odd_even_sort(input_list)
						print('The sorted list is')
						print(sorted_list)










'''simple docstring'''




import string
from math import logaa
def 	UpperCAmelCase_							(					__lowercase							:      str			,     __lowercase							:      str       )		->       int:


     '''simple docstring'''



     _UpperCAmelCase     							=   document.translate(
         str.maketrans(""			,     ""			,     string.punctuation       )       ).replace("\n"			,     ""       )
     _UpperCAmelCase     							=   document_without_punctuation.split(" "       )  # word tokenization
     return len([word for word in tokenize_document if word.lower() == term.lower()]       )
def 	UpperCAmelCase_							(					__lowercase							:      str			,     __lowercase							:      str       )		->       tuple[int, int]:


     '''simple docstring'''



     _UpperCAmelCase     							=   corpus.lower().translate(
         str.maketrans(""			,     ""			,     string.punctuation       )       )  # strip all punctuation and replace it with ''
     _UpperCAmelCase     							=   corpus_without_punctuation.split("\n"       )
     _UpperCAmelCase     							=   term.lower()
     return (len([doc for doc in docs if term in doc]       ), len(__lowercase       ))
def 	UpperCAmelCase_							(					__lowercase							:      int			,     __lowercase							:      int			,     __lowercase							:      Union[str, Any]=False       )		->       float:


     '''simple docstring'''



     if smoothing:
          if n == 0:
               raise ValueError("log10(0) is undefined."       )
          return round(1 + logaa(n / (1 + df)       )			,     3       )

     if df == 0:
          raise ZeroDivisionError("df must be > 0"       )
     elif n == 0:
          raise ValueError("log10(0) is undefined."       )
     return round(logaa(n / df       )			,     3       )






def 	UpperCAmelCase_							(					__lowercase							:      int			,     __lowercase							:      int       )		->       float:


     '''simple docstring'''



     return round(tf * idf			,     3       )




