def back_char(t, ct): code = ord(t) tmp = code - ct % 26 if tmp < 65: tmp += 26 return chr(tmp) lst = list(input()) res = '' for idx, val in enumerate(lst) : res += back_char(val,idx+1) print(res)