#include <iostream> #include <vector> #include <string> using namespace std; string helpStr1 = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789"; string helpStr2 = "22233344455566677778889999bcdefghijklmnopqrstuvwxyza0123456789"; int main() { string str; while(cin >> str) { int len = str.size(); for(int i=0; i<len; i++) { for(int j=0; j<helpStr1.size(); j++) { if(str[i] == helpStr1[j]) { str[i] = helpStr2[j]; break; } } } cout << str << endl; } return 0; }