using System; using System.Collections.Generic; namespace ConsoleApp1 { class Program { static void Main(string[] args) { #if LocalDebug var exStdIn = new System.IO.StreamReader("stdin.txt"); System.Console.SetIn(exStdIn); #endif var Input = Console.ReadLine(); for (int i = 0; i < Input.Length; i++) { Console.Write(ShiftRight(Input[i], i % 26 + 1)); } #if LocalDebug System.Console.ReadKey(); #endif } static char ShiftRight(char c, int shift) { var a = (char)(c - shift); if (a < 'A') a = (char)('Z' + 1 - ('A' - a)); return a; } static int GetData() { return int.Parse(Console.ReadLine()); } static string[] GetList() { return Console.ReadLine().Split(' '); } } }