using System;
public class Program
{
public static void Main()
var str = "ram";
char[] ab = new char[str.Length];
for(int i = 0; i< str.Length; i++)
ab[str.Length-1-i] = str[i];
}
Console.Write(new string(ab));