import sys

input = sys.stdin.readline



x, y, z = [int(x) for x in input().split()]



x, y = y, x

x, z = z, x



print((x, y, z))
import sys

input = sys.stdin.readline



def linput():

    return [int(x) for x in input().split()]



x, y, z = linput()



print((z, x, y))
import sys

input = sys.stdin.readline
x, y, z = [int(x) for x in input().split()]
x, y = y, x
x, z = z, x
print((x, y, z))

import sys

input = sys.stdin.readline


def linput():
    return [int(x) for x in input().split()]


x, y, z = linput()
print((z, x, y))

-x, y, z = [int(x) for x in input().split()] -x, y = y, x -x, z = z, x -print((x, y, z)) + + +def linput(): +    return [int(x) for x in input().split()] + + +x, y, z = linput() +print((z, x, y))