public class No18 { public static void main(String[] args) { java.util.Scanner s = new java.util.Scanner(System.in); String S = s.nextLine(); s.close(); char[] c = S.toCharArray(); S = ""; for(int i = 0;i < c.length;i++) { int ci = c[i] - ((i + 1) % 26); if(ci < 65) { ci += 26; } S = S + (char)ci; } System.out.println(S); } }