'use strict';
(function(stdin) {
  //declare function

  //declare variable
  var inputs = stdin.toString().trim().split('\n');
  var line = inputs[1].split(' ').map(Number);
  var result = [];
  line.map(function(v) {
    result.unshift(v);
  });
  //main

  //display
  console.log(result.join(' '));
})(require('fs').readFileSync('/dev/stdin', 'utf8'));