using System; using System.Collections.Generic; using System.Linq; using System.Text; class yc2 { static void Main() { string str1 = Console.ReadLine(); for (int i = 0; i < str1.Length; i++) { if (str1[i] - (i+1) % 26 < 'A') { Console.Write((char)(str1[i] + (26 - (i+1) % 26))); } else { Console.Write((char)(str1[i] - (i+1) % 26)); } } } }