import std.stdio;
import std.conv;
import std.array;
import std.string;

void main()
{
  int[] a;

  int n = to!(int)(chomp(readln()));
  string[] input = split(readln());

  a.length = n;
  for (int i = 0; i < n; i++) {
    a[i] = to!(int)(input[i]);
  }
  for (int i = n - 1; i >= 0; i--) {
    write(a[i]);
    if (i != 0) {
      write(" ");
    } else {
      write("\n");
    }
  }
}