function main(input)
{
  input = input.split(' ');
  let x = parseInt(input[0]);
  let y = parseInt(input[1]);
  let z = parseInt(input[2]);
  
  console.log(z+' '+x+' '+y);
}
main(require("fs").readFileSync("/dev/stdin", "utf8"));