using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace ConsoleApp
{
class Program
static void Main(string[] args)
string a = Console.ReadLine();
for (int i = 0; i < a.Length; i++)
Console.Write(a[a.Length - i - 1]);
}
Console.ReadLine();
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace ConsoleApp
{
class Program
{
static void Main(string[] args)
{
string a = Console.ReadLine();
for (int i = 0; i < a.Length; i++)
{
Console.Write(a[a.Length - i - 1]);
}
Console.ReadLine();
}
}
}