#include<stdio.h>
#include<string.h>
int main(){
char pw[100];
char ssd;
while(gets(pw)&&pw[0]!='\0'){
for(int i=0;i<strlen(pw);i++){
if(pw[i]=='a'||pw[i]=='b'||pw[i]=='c'){
pw[i]='2';
}
if(pw[i]=='d'||pw[i]=='e'||pw[i]=='f'){
pw[i]='3';
}
if(pw[i]=='g'||pw[i]=='h'||pw[i]=='i'){
pw[i]='4';
}
if(pw[i]=='j'||pw[i]=='k'||pw[i]=='l'){
pw[i]='5';
}
if(pw[i]=='m'||pw[i]=='n'||pw[i]=='o'){
pw[i]='6';
}
if(pw[i]=='p'||pw[i]=='q'||pw[i]=='r'||pw[i]=='s'){
pw[i]='7';
}
if(pw[i]=='t'||pw[i]=='u'||pw[i]=='v'){
pw[i]='8';
}
if(pw[i]=='w'||pw[i]=='x'||pw[i]=='y'||pw[i]=='z'){
pw[i]='9';
}
if(pw[i]=='A'){
pw[i]='b';
}
if(pw[i]=='B'){
pw[i]='c';
}
if(pw[i]=='C'){
pw[i]='d';
}
if(pw[i]=='D'){
pw[i]='e';
}
if(pw[i]=='E'){
pw[i]='f';
}
if(pw[i]=='F'){
pw[i]='g';
}
if(pw[i]=='G'){
pw[i]='h';
}
if(pw[i]=='H'){
pw[i]='i';
}
if(pw[i]=='I'){
pw[i]='j';
}
if(pw[i]=='J'){
pw[i]='k';
}
if(pw[i]=='K'){
pw[i]='l';
}
if(pw[i]=='L'){
pw[i]='m';
}
if(pw[i]=='M'){
pw[i]='n';
}
if(pw[i]=='N'){
pw[i]='o';
}
if(pw[i]=='O'){
pw[i]='p';
}
if(pw[i]=='P'){
pw[i]='q';
}
if(pw[i]=='Q'){
pw[i]='r';
}
if(pw[i]=='R'){
pw[i]='s';
}
if(pw[i]=='S'){
pw[i]='t';
}
if(pw[i]=='T'){
pw[i]='u';
}
if(pw[i]=='U'){
pw[i]='v';
}
if(pw[i]=='V'){
pw[i]='w';
}
if(pw[i]=='W'){
pw[i]='x';
}
if(pw[i]=='X'){
pw[i]='y';
}
if(pw[i]=='Y'){
pw[i]='z';
}
if(pw[i]=='Z'){
pw[i]='a';
}
}
printf("%s\n",&pw);
}
}