import java.util.*; public class Run { public static void main (String arg[]) { Scanner scan = new Scanner(System.in); String S = scan.next(); char[] arrayS = S.toCharArray(); for (int i = 0; i < arrayS.length; i++) { if (Character.isLowerCase(arrayS[i])||i > 1023) System.exit(1); arrayS[i] -= i + 1; while (arrayS[i] < 'A') { arrayS[i] -= 'A'; arrayS[i] += 'Z' + 1; } } System.out.println(arrayS); } }