import java.util.Scanner; class Usaangou{ public static void main(String args[]){ Scanner s = new Scanner(System.in); char a[] = s.next().toCharArray(); int count = 0; for(int i = 0; i < a.length; i++){ if(i <= 26){ count = i + 1; }else{ count = (i + 1) % 26; } if(a[i] - count >= 0x41){ a[i] -= count; }else{ a[i] -= count - 26; } } System.out.println(String.valueOf(a)); } }