L = 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' S = input() res = "" for i in range(len(S)): pos = L.index(S[i]) dec = (i + 1) % 26 if pos - dec >= 0: res += L[pos-dec] else: res += L[26-abs(pos-dec)] print(res)