import java.util.*; class No0013{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); String s = sc.next(); char[] st = new char[s.length()]; for(int i = 0; i < s.length(); i++){ st[i] = s.charAt(i); st[i] -= i + 1; if(st[i] < 'A') st[i] += 26; if(st[i] > 'Z') st[i] -= 26; System.out.print(st[i]); } System.out.println(); } }