import java.util.Scanner; public class Main_yukicoder18 { public static void main(String[] args) { Scanner sc = new Scanner(System.in); char[] s = sc.next().toCharArray(); for (int i = 0; i < s.length; i++) { s[i] = (char)((s[i] - 'A' - i - 1 + 26 * 1024) % 26 + 'A'); } System.out.println(new String(s)); sc.close(); } }