#include <iostream> #include <string> using namespace std; int main() { string code; cin>>code; int len=code.size(); for(int i=0;i<len;i++){ if(code[i]>='a' && code[i]<='c')code[i]='2'; else if(code[i]>='d' && code[i]<='f')code[i]='3'; else if(code[i]>='g' && code[i]<='i')code[i]='4'; else if(code[i]>='j' && code[i]<='l')code[i]='5'; else if(code[i]>='m' && code[i]<='o')code[i]='6'; else if(code[i]>='p' && code[i]<='s')code[i]='7'; else if(code[i]>='t' && code[i]<='v')code[i]='8'; else if(code[i]>='w' && code[i]<='z')code[i]='9'; if(code[i]>='A'&& code[i]<'Z'){ code[i]=char(code[i]+33) ; } if(code[i]=='Z')code[i]='a'; } cout<<code; } // 64 位输出请用 printf("%lld")