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