alpha = "ABCDEFGHIJKLMNOPQRSTUVWXYZ" S = raw_input() ans = "" for i in range(len(S)): ans += alpha[(26000+alpha.index(S[i])-i)%26] print ans