function Main(input) {
	const n = input.split('\n');
	let arrA = n[1].split(' ');
	let result = arrA.reverse();
	result = result.join(' ');
	console.log(result);
}

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