s=list(input()) n=len(s) t=['?']*n for i in range(n): t[i]=chr(ord('A')+(ord(s[i])-ord('A')-i-1+52)%26) print(''.join(t))