package yukicoder1_0;

import java.util.Scanner;

public class No18 {

	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 code = S.charAt(i)-'A' ;
			code += 2600;
			code -= i+1;
			code %= 26;
			ans += (char) ('A' + code);
		}

		System.out.println(ans);

	}

}