while 1:
    try:
        def zhkey(x):
            inw = ['abc', 'def', 'ghi', 'jkl', 'mno', 'pqrs', 'tuv', 'wxyz']
            outw = [2, 3, 4, 5, 6, 7, 8, 9]
            for j in range(len(inw)):
                if x in inw[j]:
                    return outw[j]
        mingkey = input().strip()
        ankey = []
        for i in mingkey:
            if i.isupper() and i != 'Z':
                res = chr(ord(i.lower())+1)
                ankey.append(res)
            elif i == 'Z':
                ankey.append('a')
            elif i.islower():
                res = zhkey(i)
                ankey.append(res)
            else:
                ankey.append(i)
        for i in ankey:
            print(i, end='')
    except:
        break