#include<stdio.h>
#include<string.h>
#define num 101
int main(void)
{
int i;
char str[num];
while(scanf("%s",str)!=EOF)
{
size_t length;
length=strlen(str);
for(i=0;i<length;i++)
{
if(str[i]=='a'||str[i]=='b'||str[i]=='c')
{
str[i]='2';
}
if(str[i]=='d'||str[i]=='e'||str[i]=='f')
{
str[i]='3';
}
if(str[i]=='g'||str[i]=='h'||str[i]=='i')
{
str[i]='4';
}
if(str[i]=='j'||str[i]=='k'||str[i]=='l')
{
str[i]='5';
}
if(str[i]=='m'||str[i]=='n'||str[i]=='o')
{
str[i]='6';
}
if(str[i]=='p'||str[i]=='q'||str[i]=='r'||str[i]=='s')
{
str[i]='7';
}
if(str[i]=='v'||str[i]=='t'||str[i]=='u')
{
str[i]='8';
}
if(str[i]=='w'||str[i]=='x'||str[i]=='y'||str[i]=='z')
{
str[i]='9';
}
if((str[i]>='A')&&(str[i]<='Y'))
{
str[i]=str[i]+32+1;
}
if(str[i]=='Z')
{
str[i]='a';
}
}
printf("%s\n",str);
}
}