#include <iostream>
#include <string>
using namespace std;
int main()
{
string str;
cin >> str;
int length = str.size();
char result[length];
for(int i = 0; i < length; i++)
{
if(str[i]=='a'||str[i]=='b'||str[i]=='c')
{
result[i] = '2';
}
else if(str[i]=='d'||str[i]=='e'||str[i]=='f')
{
result[i] = '3';
}
else if(str[i]=='g'||str[i]=='h'||str[i]=='i')
{
result[i] = '4';
}
else if(str[i]=='j'||str[i]=='k'||str[i]=='l')
{
result[i] = '5';
}
else if(str[i]=='m'||str[i]=='n'||str[i]=='o')
{
result[i] = '6';
}
else if(str[i]=='p'||str[i]=='q'||str[i]=='r'||str[i]=='s')
{
result[i] = '7';
}
else if(str[i]=='t'||str[i]=='u'||str[i]=='v')
{
result[i] = '8';
}
else if(str[i]=='w'||str[i]=='x'||str[i]=='y'||str[i]=='z')
{
result[i] = '9';
}
else if(str[i] >='A' && str[i] <='Z')
{
if(str[i] >='A' && str[i] <='Y')
{
result[i] = tolower(str[i])+1;
}
else
{
result[i] = 'a';
}
}
else
{
result[i] = str[i];
}
}
for(int j = 0; j < length; j++)
{
cout << result[j];
}
}
#include <string>
using namespace std;
int main()
{
string str;
cin >> str;
int length = str.size();
char result[length];
for(int i = 0; i < length; i++)
{
if(str[i]=='a'||str[i]=='b'||str[i]=='c')
{
result[i] = '2';
}
else if(str[i]=='d'||str[i]=='e'||str[i]=='f')
{
result[i] = '3';
}
else if(str[i]=='g'||str[i]=='h'||str[i]=='i')
{
result[i] = '4';
}
else if(str[i]=='j'||str[i]=='k'||str[i]=='l')
{
result[i] = '5';
}
else if(str[i]=='m'||str[i]=='n'||str[i]=='o')
{
result[i] = '6';
}
else if(str[i]=='p'||str[i]=='q'||str[i]=='r'||str[i]=='s')
{
result[i] = '7';
}
else if(str[i]=='t'||str[i]=='u'||str[i]=='v')
{
result[i] = '8';
}
else if(str[i]=='w'||str[i]=='x'||str[i]=='y'||str[i]=='z')
{
result[i] = '9';
}
else if(str[i] >='A' && str[i] <='Z')
{
if(str[i] >='A' && str[i] <='Y')
{
result[i] = tolower(str[i])+1;
}
else
{
result[i] = 'a';
}
}
else
{
result[i] = str[i];
}
}
for(int j = 0; j < length; j++)
{
cout << result[j];
}
}