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(); final int ALF = 'Z' - 'A' + 1; for (int i = 0; i < arrayS.length; i++) { if (Character.isLowerCase(arrayS[i])||i > 1023) System.exit(1); arrayS[i] -= (i + 1)%ALF; if (arrayS[i] < 'A') { arrayS[i] -= 'A'; arrayS[i] += 'Z' + 1; } } System.out.println(arrayS); } }