#include <iostream>
#include <vector>
#include <algorithm>
#include <string>
#include <cstdlib>

using namespace std;
string english[10] = {
    "zero",
    "one",
    "two",
    "three",
    "four",
    "five",
    "six",
    "seven",
    "eight",
    "nine",
};

int main()
{
    string s, charchater;
    cin >> s;
    int sum = 0;
    for (int i = 0; i < s.size(); i++)
    {
        charchater = s[i];
        sum += stoi(charchater);
    }
    vector<string> result;
    if (sum != 0)
    {
        while (sum != 0)
        {
            result.push_back(english[sum % 10]);
            sum = sum / 10;
        }
        cout << result.back();
        result.pop_back();
        while (!result.empty())
        {
            cout << " " << result.back();
            result.pop_back();
            /* code */
        }
    }
    else
    {
        cout << "zero" << endl;
    }

    return 0;
}
// stoi string to int  string to long
