import java.io.*; // 処理 final class Process { private final String S; Process(final String S) { this.S = S; } // 結果を出力 final void printResult(final PrintWriter printWriter) throws IOException { // 65: A, 90: Z for(int s = 0; s < S.length(); s++) { int charCode = (int)S.charAt(s) - (s + 1); if(charCode < 65) { while(charCode < 65) { charCode += 26; } } printWriter.print((char)charCode); } printWriter.println(); } } public class Main { public static void main(final String[] args) throws IOException { final BufferedReader bufferedReader = new BufferedReader(new InputStreamReader(System.in)); final PrintWriter printWriter = new PrintWriter(new BufferedWriter(new OutputStreamWriter(System.out))); // 入力 final String S = bufferedReader.readLine().trim(); // Process クラスで処理を行う final Process process = new Process(S); process.printResult(printWriter); // 各ストリームを閉じる // 出力ストリームを閉じるときに標準出力に文字を出力する bufferedReader.close(); printWriter.close(); } }