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