s = input("Enter Some String:")
output = ''
for x in s:
    if x.isalpha():
        output = output + x
        previous = x
    else:
        output = output + chr(ord(previous) + int(x))
print(output)