var input = function()
{
  return require('fs').readFileSync('/dev/stdin', 'utf8').split('\n');
};

var out = function(x,index,array)
{
  if (index != array.length -1)
  {
    require('util').print(x + " ");
  }
  else
  {
    require('util').print(x + "\n");
  }
  return x;
}


var array = input();
array[1].split(' ').reverse().forEach(out);