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

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


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







def      __lowerCAmelCase						(							UpperCAmelCase__				:      int			,				UpperCAmelCase__				:      float			,				UpperCAmelCase__				:      float       )  ->    float:
							return round(float(moles / volume       ) * nfactor       )



def      __lowerCAmelCase						(							UpperCAmelCase__				:      float			,				UpperCAmelCase__				:      float			,				UpperCAmelCase__				:      float       )  ->    float:
							return round(float((moles * 0.0_8_2_1 * temperature) / (volume)       )       )



def      __lowerCAmelCase						(							UpperCAmelCase__				:      float			,				UpperCAmelCase__				:      float			,				UpperCAmelCase__				:      float       )  ->    float:
							return round(float((moles * 0.0_8_2_1 * temperature) / (pressure)       )       )



def      __lowerCAmelCase						(							UpperCAmelCase__				:      float			,				UpperCAmelCase__				:      float			,				UpperCAmelCase__				:      float       )  ->    float:
							return round(float((pressure * volume) / (0.0_8_2_1 * moles)       )       )


if __name__ == "__main__":
		import doctest

		doctest.testmod()





