let arr=readLine()!.characters.split{$0==" "}.map{Int(String($0))!}
var a=arr[0]
var b=arr[1]
var c=arr[2]
var x = 0
 
x = a
a = b
b = x
 
x = a
a = c
c = x
print(String(a))
print(String(b))
print(String(c))