#include<stdio.h>
#include<math.h>
#include<string.h>
#define A 1000
int main()
{
char a[A];
while(scanf("%s",a)!=EOF)
{
for(int i=0;i<strlen(a);++i)
{
if(a[i]>=65&&a[i]<=89)
{
a[i]+=33;
printf("%c",a[i]);
continue;
}
if(a[i]==90)
{
printf("a");
continue;
}
if(a[i]>=97)
{
if(a[i]<=99)
{
printf("2");
continue;
}
else if(a[i]<=102)
{
printf("3");
continue;
}
else if(a[i]<=105)
{
printf("4");
continue;
}
else if(a[i]<=108)
{
printf("5");
continue;
}
else if(a[i]<=111)
{
printf("6");
continue;
}
else if(a[i]<=115)
{
printf("7");
continue;
}
else if(a[i]<=118)
{
printf("8");
continue;
}
else if(a[i]<=122)
{
printf("9");
continue;
}
}
printf("%c",a[i]);
}
printf("\n");
}
return 0;
}