import java.util.Scanner; class main{ public static void main(String args[]){ Scanner scan = new Scanner(System.in); String str = scan.next(); char c = 'A'; String wooser = ""; for(int i = 0; i < str.length(); i++){ int no = i + 1; char ch = str.charAt(i); if(no > 26){ for(;;){ if(no < 26){ break; } else{ no -= 26; } } } ch -= no; if( (int)ch < 65 ){ ch += 26; } String str_ch = String.valueOf(ch); wooser = wooser + str_ch; } System.out.println(wooser); } }