using System;
using System.Linq;
public class Program
{
public static void Main()
// Test Case #1
// int n = 4;
int[] a = {1,4,3,2};
foreach(int i in reverseArray(a))
Console.WriteLine(i); // 2 3 4 1
};
}
// Complete the reverseArray function below.
static int[] reverseArray(int[] a) {
return a.Reverse().ToArray();