function Main(input) {
  var line = input.split(' ');
  var A = Number(line[0]);
  var B = Number(line[1]);
  var C = Number(line[2]);

  var swap = A;
  A = B;
  B = swap;
  swap = A;
  A = C;
  C = swap;
  console.log(`${A} ${B} ${C}`);
}

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