using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace template { class Program { static void Main(string[] args) { string s = Console.ReadLine(); for (int i = 0; i < s.Length; i++) { int n = s[i] - 'A' + 26; n -= (i + 1) % 26; n %= 26; Console.Write((char)('A' + n)); } Console.WriteLine(); } } }