S = input() for i in range(len(S)): index = ord(S[i])-(i+1) % 26 if index < 65: index += 26 print(chr(index),end='') print()