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

f758ca67ef801bbc2404ca14c5d449ce964b8eb7
<mask token>

<mask token>
print(int(A), int(B), int(C))

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