import java.util.HashMap; import java.util.Map; import java.util.Scanner; public class no18 { public static void main(String[] args) { String[] az = {"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"}; Scanner sc = new Scanner(System.in); Map map = new HashMap(); for (int i = 0; i < az.length; i++) { map.put(az[i],i); } String s = sc.next(); int N = 0; int azidx = 0; for (int i = 0 ; i < s.length(); i++) { azidx = map.get(String.valueOf(s.charAt(i))) - (i + 1) % 26; if (azidx < 0) { N = 26 + azidx; } else { N = azidx; } System.out.print(az[N]); } } }