import java.util.Scanner; public class Main{ public static void main(String[] args) { Scanner sc = new Scanner(System.in); String s = sc.next(); char[] a = s.toCharArray(); char[] c = {'A','B','C','D','E','F','G','H','I','J','K','L','M','N','O','P','Q','R','S','T','U','V','W','X','Y','Z'}; int y = 0; for(int i=0;i<a.length;i++) { for(int x=0;x<c.length;x++) { if(a[i]==c[x]) { if(x-i-1<0) { y=0; while(x-i-1+y<0) { y+=c.length; } System.out.print(c[x-i-1+y]); }else { System.out.print(c[x-i-1]); } } } } } }