using System;
public class Program
{
public static void Main()
String str = "",reverse ="";
int Length = 4;
Console.WriteLine("Enter a word");
str = Console.ReadLine();
Length = str.Length - 1;
while(Length>=0);
reverse = reverse + str[Length];
Length --;
}
Console.WriteLine("reverse word is {4}",reverse);