function Main(input) {
    const inputArr = input.split(" ")
    console.log([inputArr[2], inputArr[0], inputArr[1]].join(" "))
}
// Main("1 2 3")
Main(require("fs").readFileSync("/dev/stdin", "utf8"));
