s = input()
result = ""
for ch in s:
    if ch.isdigit():
        digit = int(ch)
        digit = (digit + 1) % 10
        result += str(digit)
    else:
        result += ch
print(result)