x=[chr(i) for i in range(65, 65+26)] s=list(input()) t=[] for i in range(len(s)): t.append(x[(x.index(s[i])-(i+1))%26]) print(*t,sep="")