package m.shin; import java.util.Scanner; public class Con18 { public static void main(String[] args) { Scanner s = new Scanner(System.in); String str = s.nextLine(); s.close(); byte[] sbyte = str.getBytes(); for(int i = 0;i < sbyte.length;i++){ sbyte[i] -= 64; sbyte[i] -= (i + 1) % 26; while(sbyte[i] <= 0){ sbyte[i] += 26; } sbyte[i] += 64; } System.out.println(new String(sbyte)); } }