using System;
public class Program
{
public static void Main()
var str = new char[] { 'a', 'd', 'd', 'i', 'e' };
int counter = 0;
for (int i = 0; i < str.Length; i++)
counter++;
Console.WriteLine(str[str.Length - counter]);
}