import numpy as np



X, Y, Z = list(map(int, input().split()))

print((Z, X, Y))

X, Y, Z = list(map(int, input().split()))



A = Y

B = X

C = Z



print((C, B, A))
import numpy as np

X, Y, Z = list(map(int, input().split()))
print((Z, X, Y))

X, Y, Z = list(map(int, input().split()))
A = Y
B = X
C = Z
print((C, B, A))

-import numpy as np - -print((Z, X, Y)) +A = Y +B = X +C = Z +print((C, B, A))