a,b,c=input().split() a=int(a) b=int(b) c=int(c) if a<b: a,b=b,a elif a<c: a,c=c,a elif b<c: b,c=c,b print(c,b,a)