function main(input) {
  var arr = input.trim().split(" ").map(function(e){return parseInt(e)})
  return [arr[2], arr[0], arr[1]].join(" ")
}

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