#include<iostream>
using namespace std;
const int maxn = 10000;
int main() {
char mp[20][20] = { "zero","one","two","three","four","five","six","seven","eight","nine" };
int x, ans = 0;
int temp[maxn] = {};
cin >> x;
while (x != 0) {
ans += x % 10;
x /= 10;
}
if (ans == 0)
cout << "zero";
int num = 0;
while (ans != 0) {
temp[num++] = ans % 10;
ans /= 10;
}
for (int i = num - 1; i >= 0; i--) {
cout <<mp[temp[i]];
if (i != 0)
cout << " ";
}
system("pause");
return 0;
}