S = [str(x) for x in input()] E = "ABCDEFGHIJKLMNOPQRSTUVWXYZ" F = "" for n in range(len(S)): m = n % 26 F += E[E.index(S[m])-m-1] print(F)