"use strict"
function main(arg) {
    var r = arg.trim().split("\n")[0].split(' ').map(Number)
    var ans = [r[2], r[0], r[1]]
    console.log(ans.join(' '))
}
main(require('fs').readFileSync('/dev/stdin', 'utf8'));