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

  [arr[0], arr[1]] = [arr[1], arr[0]];
  [arr[0], arr[2]] = [arr[2], arr[0]];

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