st = list(raw_input()) al = 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' enc = dict(zip(al, range(26))) dec = dict(zip(range(26), al)) ans = [] i = 0 for s in st: digit = enc[s] - ((i + 1) % 26) if digit < 0: ans.append(dec[digit + 26]) else: ans.append(dec[digit]) i += 1 print ''.join(ans)