import java.util.Scanner; public class Main { public static void main(String[] a) { Scanner s=new Scanner(System.in); char[] C=s.next().toCharArray(); for(int i=0;i<C.length;i++)C[i]=(char)(((C[i]-66-i)%26+26)%26+65); System.out.println(String.valueOf(C)); } }