#include<iostream>
#include<algorithm>
#include<cstring>
#include<string>
#include<cstdio>
#include<cctype>
#include<cmath>
#include<vector>
#include<queue>
#include<set>
#include<map>
#include<stack>
#include<sstream>
#define mm(a,x) memset(a,x,sizeof(a))
#define maxn 100005
using namespace std;
typedef long long ll;
const int INF=0x3f3f3f3f;
int main()
{
std::ios::sync_with_stdio(false);
std::cin.tie(0);
string s;
string a[maxn]={
"zero","one","two",
"three","four","five","six","seven","eight","nine"};
cin>>s;
int sum=0;
for(int i=0;i<s.length();i++)
{
sum+=stoi(s.substr(i,1));
}
string b=to_string(sum);
for(int i=0;i<b.length();i++)
{
if(i) cout<<" ";
cout<<a[stoi(b.substr(i,1))];
}
}