import java.util.Arrays; import java.util.Scanner; public class Yuki017 { public static void main(String[] args) { Yuki017 p = new Yuki017(); } public Yuki017() { Scanner scanner = new Scanner(System.in); final String s = scanner.next(); char[] ans = new char[s.length()]; for (int i = 0; i < s.length(); i++) { int c = (s.charAt(i) - (i + 1) - 'A') % 26; ans[i] = (char) (((c + 26) % 26) + 'A'); } System.out.println(new String(ans)); } }