#include <string>
using namespace std;
int main ()
{
string str;
cin >> str;
for(char ch : str)
{
if(ch>='a'&&ch<='c')
cout<<2;
else if(ch>='d'&&ch<='f')
cout<<3;
else if(ch>='g'&&ch<='i')
cout<<4;
else if(ch>='j'&&ch<='l')
cout<<5;
else if(ch>='m'&&ch<='o')
cout<<6;
else if(ch>='p'&&ch<='s')
cout<<7;
else if(ch>='t'&&ch<='v')
cout<<8;
else if(ch>='w'&&ch<='z')
cout<<9;
else if(ch>='A'&&ch<='Y')
{
char ch1 = ch+33;
cout << ch1;
}
else if(ch == 'Z')
cout<<'a';
else
cout << ch;
}
return 0;
}

京公网安备 11010502036488号