"use strict"
const input = require('fs').readFileSync('/dev/stdin','utf8');
const arr = input.split('\n');
const n = parseInt(arr[0]);
const list = arr[1].split(' ');
let ans = list[n-1];
for (let i = n-2; i >= 0; i--) {
	ans += ' ' + list[i];
}
console.log(ans);
