interface Converter { void encode(); void decode(); } class U_SA_ implements Converter { private final int firstNum = 65; private final int lastNum = 90; private char[] code; public U_SA_(String s) { this.code = s.toCharArray(); } public void encode() { } public void decode() { for (int i = 0; i < code.length; i++) { code[i] -= (i + 1); code[i] = checkD(code[i]); } } public char checkE(char c) { return c; } public char checkD(char c) { if (c >= firstNum) { return c; } else { c += 26; return checkD(c); } } public void printCode() { System.out.println(this.code); } } public class No_18 { public static void main(String[] args) { java.util.Scanner sc = new java.util.Scanner(System.in); U_SA_ u_sa_ = new U_SA_(sc.next()); u_sa_.decode(); u_sa_.printCode(); } }