using System; using System.Collections.Generic; using System.Linq; using System.Text; public class Class1 { static void Main(string[] args) { Console.InputEncoding = new UTF8Encoding(); Console.OutputEncoding = new UTF8Encoding(); var s = Console.ReadLine(); Console.WriteLine(new string(s.Reverse().ToArray())); } }