function Main(input) {
	input = input.split("\n");
	tmp = input[0].split(" ");
	var list = [tmp[0], tmp[1], tmp[2]]
    list = fswap(list)
  	list = sswap(list)
  	console.log(...list)
}

function fswap(list) {
  var temp = list[0]
  list[0]= list[1]
  list[1] = temp
  return list
}
function sswap(list) {
  var temp = list[0]
  list[0]= list[2]
  list[2] = temp
  return list
}

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