import java.util.Scanner; public class Main{ public static void main(String[] args) { Scanner scan = new Scanner(System.in); String s = scan.next(); scan.close(); int k = 0; int ans = 0; for(int i = 1; i <= s.length(); i++) { char c = s.charAt(i - 1); k = c - 65 - (i % 26); if(k < 0) { ans = 24 - k + 65; }else { ans = k + 65; } System.out.print((char)ans); } System.out.println(""); // for(int i = 0; i < 26; i++) { // int k = 65 + i; // char c = (char) k; // System.out.println(c); // } } }