#include <iostream>
using namespace std;
int main()
{
string n;
cin>>n;
int s=0;
for(auto c:n)
{
s+=c-'0';
}
string number[10]={"zero","one","two","three","four","five","six","seven","eight","nine"};
string num=to_string(s);
cout<<number[num[0]-'0'];
for(int i=1;i<num.size();i++)
{
cout<<' '<<number[num[i]-'0'];
}
return 0;
}