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