using System;
using System.Collections.Generic;
using System.Linq;

namespace PracticeAtCoder
{
    class Program
    {
        static void Main(string[] args)
        {
			
			
			//018うーさー暗号
			
			
			//入力
			string sA = Console.ReadLine();
			//int[] after = t.Select(s => int.Parse(s)).ToArray();
			char[] chaA = sA.ToCharArray();
			
			int x = 0;
			int chY = 0;
			
			foreach(char chaB in  chaA){
				
				// 65:A 90:Z 
				x++;
				x= x%26;
				chY = (int)chaB;
				if(chY - x <65){
					chY = chaB +26;
				}
				
				chY = chY - x;
				Console.Write((char)chY); // 出力:97
			
				
			}
			/*
			char c1 = 'a';
			int code1 = (int)c1;
			Console.WriteLine(code1); // 出力:97
			
			int code3 = 99;
			char c3 = (char)code3;
			Console.WriteLine(c3); // 出力:c
			*/
		}
    }
}