#include<stdio.h>
#include<ctype.h>
int main(void){
int n,i;
char a[101];
while(scanf("%s",a)!=EOF){
for(i=0;i<101;i++){
if('a'<=a[i]&&a[i]<='c')
a[i]='2';
if('d'<=a[i]&&a[i]<='f')
a[i]='3';
if('g'<=a[i]&&a[i]<='i')
a[i]='4';
if('j'<=a[i]&&a[i]<='l')
a[i]='5';
if('m'<=a[i]&&a[i]<='o')
a[i]='6';
if('p'<=a[i]&&a[i]<='s')
a[i]='7';
if('t'<=a[i]&&a[i]<='v')
a[i]='8';
if('w'<=a[i]&&a[i]<='z')
a[i]='9';
if('A'<=a[i]&&a[i]<'Z')
a[i]=tolower(a[i])+1;
if(a[i]=='Z')
a[i]='a';
}
printf("%s\n",a);
}
return 0;
}