function Main (input) {
  input = input.split("\n")[0].split(" ");
  var t1 = swap(input[0], input[1]);
  input[0] = t1[0];
  input[1] = t1[1];
  var t2  = swap(input[0], input[2]);
  input[0] = t2[0];
  input[2] = t2[1];
  console.log("%d %d %d", input[0], input[1], input[2]);
  function swap (a, b) {
    return [b, a];
  }
}

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