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