#include <iostream>
#include <string>
#include <vector>
int main() {
std::string n;
std::cin >> n;
int sum = 0;
for (char c : n) {
sum += c - '0';
}
std::vector<std::string> label = {
"zero", "one", "two", "three", "four",
"five", "six", "seven", "eight", "nine"
};
std::string s = std::to_string(sum);
for (char c : s) {
std::cout << label[c - '0'] << ' ';
}
std::cout << std::endl;
return 0;
}