def test():
a=[]
for i in range(15):
b = int(input()) #需加int,不然输入的是字符
a.append(b)
for i in range(15):
for j in range(i+1,15):
if a[i]>a[j]:
a[i],a[j] = a[j],a[i]
for i in range(15):
print(a[i], "", end="")
if __name__ == "__main__":
test()
python3 排序