x=input().split()

y=list(map(int,x))

a=y[0]

b=y[1]

c=y[2]

d=sorted([a,b,c])

print(("{0} {1} {2}".format(d[0],d[1],d[2])))
a,b,c=list(map(int,input().split()))

d=[a,b,c]

d.sort()

print(("{0} {1} {2}".format(d[0],d[1],d[2])))                
x = input().split()
y = list(map(int, x))
a = y[0]
b = y[1]
c = y[2]
d = sorted([a, b, c])
print(("{0} {1} {2}".format(d[0], d[1], d[2])))

a, b, c = list(map(int, input().split()))
d = [a, b, c]
d.sort()
print(("{0} {1} {2}".format(d[0], d[1], d[2])))

-x = input().split() -y = list(map(int, x)) -a = y[0] -b = y[1] -c = y[2] -d = sorted([a, b, c]) +a, b, c = list(map(int, input().split())) +d = [a, b, c] +d.sort()