using System;
public class Program
{
public static void Main()
int[] a = { 5, 3, 6, 4, 2, 9, 1, 8, 7 };
}