let input = readLine()!
let splitInput = input.split(separator: " ")
var x = Int(splitInput[0])!
var y = Int(splitInput[1])!
var z = Int(splitInput[2])!

var tempX = x
x = y
y = tempX

tempX = x
x = z
z = tempX

print(x, y, z)