using System;
class Program
{
static void Main()
Console.Write("Enter a number: ");
string input = Console.ReadLine(); // Take input as a string
char[] charArray = input.ToCharArray(); // Convert to character array
Array.Reverse(charArray); // Reverse the array
string reversedString = new string(charArray); // Convert back to string
Console.WriteLine("Reversed Number: " + reversedString); // Print as a string
}