s = input() ret = '' for i, c in enumerate(s): idx = ord(c)-(i+1)%26 if idx<65: idx += 26 ret += chr(idx) print(ret)