for i,s in enumerate(input()): while ord(s)-i-1<65: s=chr(ord(s)+26) print(chr(ord(s)-i-1), end='') print()