function Main(input) {
  const arr = input.split(' ');
  const result = [];

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

  console.log(result.join(' '));
}
Main(require("fs").readFileSync("/dev/stdin", "utf8"));