import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; public class Main { public static void main(String[] args) { BufferedReader buff = new BufferedReader(new InputStreamReader(System.in)); // 0x41 = A 0x5A = Z final char[] ALPHA = new char[26]; for(int i = 0; i < 26; ++i){ ALPHA[i] = (char) ('A' + i); } try { String line = buff.readLine(); String ans = ""; for(int i = 0; i < line.length(); ++i){ int num = line.charAt(i) - 'A' - (i + 1); if(num < 0){ num %= 26; num += 26; } if(num == 26){ num %= 26; } ans += ALPHA[num]; } System.out.println(ans); } catch (NumberFormatException e) { } catch (IOException e) { } } }