import java.util.*; public class Exercise65{ public static void main (String[] args){ Scanner sc = new Scanner(System.in); String str = sc.next(); char[] strArray = str.toCharArray(); char[] newStrArray = new char[strArray.length]; for (int i = 0; i < strArray.length; i++){ int num = (int)strArray[i]; num -= (i + 1); num = getNum(num); newStrArray[i] = (char)num; } String newStr = String.valueOf(newStrArray); System.out.println(newStr); } private static int getNum(int num){ if (num < 65){ num = 90 - (64 - num); return getNum(num); }else{ return num; } } }