sr = map(int,input().split())
max = max(sr)
min = min(sr)
sr.remove(max)
sr.remove(min)
n = sr[0]
print(int(min),int(n),int(max)) 为何RE