static public void Main(string[] args)
int n = int.Parse(Console.ReadLine());
int[] points = new int[n];
for (int i = 0; i < n; i++)
Console.Write("a[" + i + "]=");
points[i] = int.Parse(Console.ReadLine());
for (int i = 0; i < 10; i++)
for (int j = i + 1; j < n; j++)
if (points[j] > points[i])
Console.WriteLine(points[i]);