import java.util.Scanner; public class Main { public String changeStr(String s){ char[] c = s.toCharArray(); for(int i = 0;i < s.length();i++){ int now = (int)(c[i] - (i + 1)); while(now < 'A'){ now += 26; } c[i] = (char)now; } return String.valueOf(c); } public static void main(String[] args) { Scanner sc = new Scanner(System.in); Main m = new Main(); String str = sc.next(); System.out.println(m.changeStr(str)); } }