using System; using System.Linq; namespace Yukicoder { class Program { static void Main(string[] args) { var line = Console.ReadLine().Select( (x, index) => (int)x + ((index + 1) * -1)); var str = line.Select(x => x < 65 ? (char)(90 - Math.Abs(64 - x) % 26) : (char)x); foreach (var s in str) { Console.Write(s); } } } }