S = list(input()) count = 1 answer="" for i in S: answer+=chr((ord(i)-ord("A")-count)%26+ord("A")) count+=1 print(answer)