"use strict";

const main = (input) => {
    const spi = input.split('\n');
    let [a,b,c] = spi[0].split(' ').map(e => Number(e));

    [b, a] = [a, b];
    [c, a] = [a, c];

    console.log(`${a} ${b} ${c}`);
};

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