function Main(input) {
  var tmp = input.trim().split(' ')

  var result = [tmp[2], tmp[0], tmp[1]].join(' ')

  console.log(result)
  return result
}

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