import java.util.Scanner

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