import java.util.*; public class Main { private static Scanner sc = new Scanner(System.in); public static void main(String[] args) throws Exception { String s = sc.next(); StringBuilder sb = new StringBuilder(); for (int i = 0;i < s.length();i++) { char c = s.charAt(i); int val = (int)c-(i+1)%26; if (val < 65) val += 26; sb.append((char)val); } System.out.println(sb.toString()); } }