function Main(input) {
    var X = input[0];
    var Y = input[1];
    var Z = input[2];

    console.log(`${Z} ${X} ${Y}`);
}

Main(require("fs").readFileSync("/dev/stdin", "utf8").trim().split(/\n|\s/));