s="" l=list(map(ord,list(input()))) l=list(map(lambda x:x-66,l)) for i in range(len(l)): s+=chr(((l[i]-i)%26)+65) print(s)