process.stdin.resume();
process.stdin.setEncoding('utf8');

process.stdin.on('data', function (chunk) {

  var lines = chunk.split('\n');
var a = lines[1].split(' ');
console.log(a.reverse().join(' '));
});