S = raw_input()
count = 1
B = ""
for str in S:
    A = chr(((26 + ord(str) - 65) - count % 26 )%26 + 65)
    B = B + A
    count += 1
print B