






from statistics import mean, stdev





def       __lowerCAmelCase      (						__snake_case					, __snake_case = 3       ):
     __lowerCAmelCase								=					min(__snake_case       )
     __lowerCAmelCase								=					max(__snake_case       )
     # normalize data
     return [round((x - x_min) / (x_max - x_min)					, __snake_case       ) for x in data]





def       __lowerCAmelCase      (						__snake_case					, __snake_case = 3       ):
     __lowerCAmelCase								=					mean(__snake_case       )
     __lowerCAmelCase								=					stdev(__snake_case       )
     # standardize data
     return [round((x - mu) / (sigma)					, __snake_case       ) for x in data]














def       __lowerCAmelCase      (						__snake_case       ):
     __lowerCAmelCase								=					len(__snake_case       )
     while cur > 1:
          # Find the maximum number in arr
          __lowerCAmelCase								=					arr.index(max(arr[0:cur]       )       )
          # Reverse from 0 to mi
          __lowerCAmelCase								=					arr[mi::-1] + arr[mi + 1 : len(__snake_case       )]
          # Reverse whole list
          __lowerCAmelCase								=					arr[cur - 1 :: -1] + arr[cur : len(__snake_case       )]
          cur -= 1
     return arr


if __name__ == "__main__":
 lowerCamelCase			:					List[str]         =	input('''Enter numbers separated by a comma:\n''').strip()
 lowerCamelCase			:					Tuple         =	[int(item) for item in user_input.split(''',''')]
 print(pancake_sort(unsorted))






