import java.util.Scanner; public class No00000018_Main { public static void main(String[] args) { Scanner scan = new Scanner(System.in); char[] charA = scan.nextLine().toCharArray(); char[] charB = new char[charA.length]; for(int i = 0; i < charA.length; i++) { charB[i] = (char)((charA[i] - (i + 1) + 'A') % 26 + 'A'); } System.out.println(new String(charB)); scan.close(); } }