x=sorted(map(int, input().split()))

for e in x[::-1]:

    print(e, end=' ')

print()
x=sorted(map(int,input().split()))[::-1]

for e in x:

    print(e, end=' ')

print()
x = sorted(map(int, input().split()))
for e in x[::-1]:
    print(e, end=" ")
print()

x = sorted(map(int, input().split()))[::-1]
for e in x:
    print(e, end=" ")
print()

-x = sorted(map(int, input().split())) -for e in x[::-1]: +x = sorted(map(int, input().split()))[::-1] +for e in x: