S = list(input()) a = list('ABCDEFGHIJKLMNOPQRSTUVWXYZ') print(''.join([a[a.index(S[i])-(i%26)-1] for i in range(len(S))]))