function Main (input) {
    var arr = input.split(' ');
    var ans = [];

    ans.push(arr[2], arr[0], arr[1]);

    console.log(ans.join(' '));
    
}

Main(require("fs").readFileSync("/dev/stdin", "utf8"));