a,t = [chr(i) for i in range(65, 65+26)],"" for i,s in enumerate(input()): w = a.index(s) - i if w == 0: t += a[25] else: t += a[w-1] print(t)