using System;
using System.Linq;

class Program
{
    static void Main(string[] args)
    {
        string S = Console.ReadLine();

        int code;
        foreach (var s in S.ToArray().Select((val, idx) => new { val, idx }))
        {
            code = (int)s.val - (s.idx + 1);
            while (code < 65)
            {
                code += 26;
            }
            Console.Write((char)code);
        }
        Console.WriteLine();
    }
}