import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.Arrays; public class Main{ public static void main(String[] args) { try (BufferedReader br = new BufferedReader(new InputStreamReader(System.in))) { char[] c = br.readLine().toCharArray(); for (int i = 0; i < c.length; i++) { int idx = (int)c[i] - (i + 1) % 26; if (idx < 65) { System.out.print((char) (idx + 26)); } else { System.out.print((char)idx); } } } catch (IOException e) { e.printStackTrace(); } } }