using System; class Program { static void Main() { var s = Console.ReadLine(); string result = ""; for(int i = 0; i < s.Length; i++) { int j = (int)s[i] - i - 1; while(j < 'A') { j += 26; } while('Z' < j) { j -= 26; } result += ((char)j).ToString(); } Console.WriteLine($"{result}"); } }