

import java.util.Scanner
object Main {
  def main(args:Array[String]) = {
    val sc = new java.util.Scanner(System.in)
    val a = sc.nextInt //最初の整数が読み込まれる
    val b = sc.nextInt 
    val c = sc.nextInt 
    
    var x = a
    var y = b
    var z = c
    
// 入れ替え1
    var tmp = y
    y = x
    x = tmp
    
//入れ替え２
    tmp = z
    z = x
    x = tmp
    println(s"$x $y $z")
  }
}
