#include<stdio.h>
#include<string.h>
#define LEN 100
int main(){
char str[LEN +1] = {0};
char numb[26] = {'2','2','2','3','3','3','4','4','4',
'5','5','5','6','6','6','7','7','7','7',
'8','8','8','9','9','9','9'};
scanf("%s", str);
int i, len = strlen(str);
//遍历
for(i=0; i<len; i++){
//大写Z
if(str[i] == 'Z') str[i] = 'a';
//其余大写字母
else if(str[i]>='A' && str[i] < 'Z')
str[i] = str[i] - 'A' + 'b';
//小写字母
else if(str[i]>='a' && str[i] <= 'z'){
str[i] = numb[str[i] - 'a'];
}
}
printf("%s", str);
return 0;
}