import java.util.*

fun main(args: Array<String>) {
    val sc = Scanner(System.`in`)
    // val n = sc.next()
    val x = (0 until 3).map { sc.next().toInt() }

    println("${x[2]} ${x[0]} ${x[1]}")
    
}
