def dfx(ora):
daxie_xiaox = "ABCDEFGHIJKLMNOPQRSTUVWXYZbcdefghijklmnopqrstuvwxyza"
xiaox_daxie = "abcdefghijklmnopqrstuvwxyz22233344455566677778889999"
new = ""
for j in ora:
if j in daxie_xiaox[:26]:
# print(daxie_xiaox[26:][daxie_xiaox.index(j)])
new += daxie_xiaox[26:][daxie_xiaox.index(j)]
elif j in xiaox_daxie[:26]:
new += xiaox_daxie[26:][xiaox_daxie.index(j)]
else:
new += j
return new
print(dfx(input()))