a, b, c = input().split()
a, b, c = c, a, b
print(a, b, c)