using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ConsoleApplication3
{
    class Program
    {
        static void Main(string[] args)
        {
            var a = int.Parse(Console.ReadLine());
            var b = Console.ReadLine().Split().ToArray();
            foreach (var i in Enumerable.Range(0, a / 2))
            {
                var X = b[a-1-i];
                b[a-1-i] = b[i];
                b[i] = X;
            }
            //Console.WriteLine(b);
            foreach (var i in Enumerable.Range(0, a - 1))
            {
                Console.Write("{0} ",b[i]);
            }
            Console.Write(b[a-1]);
        }
    }
}