#include
using namespace std;
char table[][10] = { " ", “.+@$”, “abc”, “def”, “ghi”, “jkl” , “mno”, “pqrs” , “tuv”, “wxyz” };
void generate(char *inp,char *out,int i,int j)
{
if(inp[i]==’\0’)
{
out[j]=’\0’;
cout<<out<<endl;
return;
}
int dig=inp[i]-'\0';
for(int k=0;table[dig][k]!='\0';k++)
{out[j]=table[dig][k];
generate(inp,out,i+1,j+1);
}
return;
}
int main()
{ char s[100];
cin>>s;
char out[100];
generate(s,out,0,0);
return 0;
}