using System;
public class Program
{
public static void Main()
int temp =0;
int temp1=0;
int j=0;
int [] array1 = new int[9] { 1, 2, 3, 4, 5, 6, 7, 8, 9};
int k=3;
temp =k;
for(int i=0;i<k;i++)
for(j=(temp-1); j>=(temp-k); j--)
Console.WriteLine(array1[j]);
temp1++;
}
temp =temp1+k;