# coding: utf-8 import string s = str(input()) s_i = 0 A =string.ascii_uppercase array_A = [i for i in A] num = [int(i+1) for i in range(len(array_A))] ans = [] for j in range(len(s)): s_i += 1 a_i = array_A.index(s[j]) if s_i == len(array_A): s_i = 0 ans.append(array_A[a_i-s_i]) else: ans.append(array_A[a_i-s_i]) for a in ans: print(*a , end="")