S = raw_input() print "".join(map( lambda x:chr(x + ord("A")), [((c - i - 1))%26 for i,c in enumerate( map(lambda s:ord(s) - ord("A"),list(S))) ]))