import java.util._

object Main {
  def main(args: Array[String]): Unit = {
    val sc = new Scanner(System.in)
    val x = sc.nextInt()
    val y = sc.nextInt()
    val z = sc.nextInt()
    println(s"$z $x $y")
  }
}