# coding=gbk
# code by wangrui
#CSSAR Center of Data Net
#插入排序
第一个版本
def Insert_Sort(array):
for i in range(len(array)):
temp = array[i]
j = i-1
while j>=0 and temp<array[j]:
array[j+1]=array[j]
j -= 1;
array[j+1] = temp
array = []
input = raw_input('please input some number')
for item in input.split(','):
array.append(int(item))
Insert_Sort(array)
print array