#include <bits/stdc++.h>
using namespace std;
void solve(string inp,string out,int n,int i)
{
if(i==n)
{
cout<<out<<" ";
return;
}
int digit=inp[i]-‘0’;
char ch=‘a’+digit-1;
out.push_back(ch);
solve(inp,out,n,i+1);
out.pop_back();
if(i+1<n)
{
int digit2=inp[i+1]-‘0’;
int no=digit*10+digit2;
if(no<=26)
{
char ch=‘a’+no-1;
out.push_back(ch);
solve(inp,out,n,i+2);
out.pop_back();
}
}
}
int main() {
string inp;
cin>>inp;
int n=inp.size();
string out;
solve(inp,out,n,0);
}