# https://atcoder.jp/contests/abc161/tasks/abc161_a
import sys
def input(): return sys.stdin.readline().rstrip()
sys.setrecursionlimit(10 ** 7)

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


# S = input()
# n = int(input())
# l = list(map(int, (input().split())))
# A = [[int(i) for i in input().split()] for _ in range(N)]
