chars = [chr(i) for i in range(65, 91)] nums = [i for i in range(1, 27)] alphabets = dict(zip(chars, nums)) arry = list(input().rstrip()) for i in range(len(arry)): decrypted_num = int(alphabets[arry[i]]) - i if decrypted_num <= 0: decrypted_num += 26 arry[i] = chars[decrypted_num] ans = "".join(arry) print(ans)