fun main(args: Array<String>) {
    val ints = rspint()
    function(ints)
}

fun function(ints: List<Int>) {
    println("${ints[2]} ${ints[0]} ${ints[1]}")
}

fun rl() = readLine()!!
fun rsp() = readLine()!!.split(" ")
fun rint() = readLine()!!.toInt()
fun rspint() = readLine()!!.split(" ").map { it.toInt() }