out = []
list1 = ['0','1','2','3','4','5','6','7','8','9']
while True:
    try:
        x1 = input()
        for word in x1:
            if word in list1:
                out.append(word)
            elif word.isupper() and word != 'Z':
                out.append(chr(ord(word.lower())+1))
            elif word == 'Z':
                out.append('a')
            elif word in 'abc':
                out.append('2')
            elif word in 'def':
                out.append('3')
            elif word in 'ghi':
                out.append('4')
            elif word in 'jkl':
                out.append('5')
            elif word in 'mno':
                out.append('6')
            elif word in 'pqrs':
                out.append('7')
            elif word in 'tuv':
                out.append('8')
            elif word in 'wxyz':
                out.append('9')
        print(''.join(out)) 
    except:
        break