AOJ0018

Sorting Five Numbers | Aizu Online Judge

s = sorted(list(map(int, input().split())), reverse=True)
print(s[0], s[1], s[2], s[3], s[4])