process.stdin.resume();
process.stdin.setEncoding('utf8');
var input_string = '';

process.stdin.on('data', function (chunk) {
    input_string = chunk;
    const lines = input_string;
    const c = []
    c.push(lines.split(' ').map(value => parseInt(value)));

    console.log("c:", c);
    var A = c[0][0];
    var B = c[0][1];
    var C = c[0][2];
    var A_ = A;
    var B_ = B;
    var C_ = C;
    A = B_;
    B = A_;
    C = A;
    A = C_;
    console.log(A + " " + B + " " + C);

});


