while True:
    try:
        n=input()
        b=[]
        for i in n:
            if ord("A") <= ord(i) <= ord("Z"):
                if i == "Z":
                    b.append("a")
                else:
                    b.append(chr(ord(i.lower())+1))
            elif i in "abc":
                b.append(2)
            elif i in "def":
                b.append(3)
            elif i in "ghi":
                b.append(4)
            elif i in "jkl":
                b.append(5)
            elif i in "mno":
                b.append(6)
            elif i in "pqrs":
                b.append(7)
            elif i in "tuv":
                b.append(8)
            elif i in "wxyz":
                b.append(9)
            else:
                b.append(i)
        for k in b:
            print(k,end="")
    except:
        break