import Foundation

let input_line = readLine()!.components(separatedBy: " ")
let X = Int(input_line[0])!
let Y = Int(input_line[1])!
let Z = Int(input_line[2])!

var A = X
var B = Y
var C = Z

swap(&A, &B)
swap(&A, &C)

print("\(A) \(B) \(C)")