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

print((Z,X,Y))



import sys

import heapq

sys.setrecursionlimit(10**6)

input = lambda: sys.stdin.readline().rstrip()



# N = list(map(int,input().split()))

B,C,A = list(map(int,input().split()))

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

import sys
import heapq

sys.setrecursionlimit(10**6)
input = lambda: sys.stdin.readline().rstrip()
# N = list(map(int,input().split()))
B, C, A = list(map(int, input().split()))
print((A, B, C))

-X, Y, Z = list(map(int, input().split())) -print((Z, X, Y)) +import sys +import heapq + +sys.setrecursionlimit(10**6) +input = lambda: sys.stdin.readline().rstrip() +# N = list(map(int,input().split())) +B, C, A = list(map(int, input().split())) +print((A, B, C))