import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.ArrayList; import java.util.Arrays; import java.util.HashMap; public class Main { public static void main(String[] args) { BufferedReader stdReader =new BufferedReader(new InputStreamReader(System.in)); try { String line = stdReader.readLine(); StringBuilder sb = new StringBuilder(); for(int i=1;i<=line.length();i++){ int num = line.charAt(i-1)-i%26; while(num-'A'<0){ num += 26; } sb.append(Character.toChars(num)); } System.out.println(sb.toString()); } catch (IOException e) { e.printStackTrace(); } } }