"use strict"

const main = arg => {
  var input = arg.trim().split("\n");

  var x = parseInt(input[0].split(" ")[0]);
  var y = parseInt(input[0].split(" ")[1]);
  var z = parseInt(input[1].split(" ")[2]);
  var tmp = 0;

  tmp = x;
  x = y;
  y = tmp;

  tmp = x;
  x = z;
  z = tmp;

  console.log(x y z);
}
main(require('fs').readFileSync('/dev/stdin', 'utf8'));  