import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); String s = sc.next(); String ans = ""; for(int i = 0 ; i < s.length() ; i++) { int a = (s.charAt(i) - 'A' - (i + 1) + 1300) % 26 + 'A'; char c = (char)a; ans += c; } System.out.println(ans); } }