s=input().strip()
new=[]
n=len(s)
for i in range(n):
if s[i].isalpha():# 大写字母:转小写后向后移一位(Z→a)
if s[i].isupper():
n1=s[i].lower()
n2=ord(n1)
n3=n2+1
if n3>122:
n3=97
n_c=chr(n3)
elif s[i] in {'a', 'b', 'c'}: # 小写字母:按手机键盘对应数字
n_c='2'
elif s[i] in {'d', 'e', 'f'}:
n_c='3'
elif s[i] in {'g', 'h', 'i'}:
n_c='4'
elif s[i] in {'j', 'k', 'l'}:
n_c='5'
elif s[i] in {'m', 'n', 'o'}:
n_c='6'
elif s[i] in {'p', 'q', 'r','s'}:
n_c='7'
elif s[i] in {'t', 'u', 'v'}:
n_c='8'
elif s[i] in {'w', 'x', 'y','z'}:
n_c='9'
else:# 非字母字符直接保留
n_c=s[i]
new.append(n_c)
print(''.join(new))