#include <iostream>
#include <string>
using namespace std;
string digit2string[10]={"zero","one","two","three","four","five","six","seven","eight","nine"};
int summry(string num){
int res = 0;
for(unsigned int i=0;i<num.size();i++){
res += num[i] - '0';
}
return res;
}
void output(int sum){
int num[100]={0};
int index = 0;
while(sum/10){
num[index] = sum%10;
sum /=10;
index++;
}
num[index] = sum;
cout << digit2string[num[index]];
for(int i = index-1;i>=0;i--)
{
cout<<" "<<digit2string[num[i]];
}
}
int main()
{
int res = 0;
string num;
cin >> num;
res = summry(num);
output(res);
return 0;
}