a,b,d=map(int,input().split())
c=[a,b,d]
c.sort(reverse=-1)
print(" ".join(str(i)for i in c))