using System;
public class program
{
public static void Main()
string x;
int y=0;
Console.Write("Enter string : ");
x = Console.ReadLine();
y = x.Length - 1;
Console.Write("\n\nYour Reverse is : \n\n");
while (y >= 0)
Console.Write("{0} ", x[y]);
y--;
}