function main(input) {
  const inputs = input.split('\n')
  const [X, Y, Z] = inputs[0].split(' ')
  // console.log(X, Y, Z)

  console.log(Z, X, Y)
}
main(require("fs").readFileSync("/dev/stdin", "utf8"));

