while True:
    try:
        str1=input()
        stack=[]
        for i in str1:
            if i.isalnum():
                if i.isupper():
                    if i=="Z":
                        stack.append("a")
                    else:
                        stack.append(chr(ord(i)+1).lower())
                elif i.islower():
                    if i in "abc":
                        stack.append("2")
                    elif i in "def":
                        stack.append("3")
                    elif i in "ghi":
                        stack.append("4")
                    elif i in "jkl":
                        stack.append("5")
                    elif i in "mno":
                        stack.append("6")
                    elif i in "pqrs":
                        stack.append("7")
                    elif i in "tuv":
                        stack.append("8")
                    elif i in "wxyz":
                        stack.append("9")
                else :
                    stack.append(i)
        print("".join(stack))
    except:
        break