a = 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' s = list(input()) ans = [] for i in range(len(s)): x = a.index(s[i]) ans.append(a[x-i%26-1]) print(ans)