#include <bits/stdc++.h>
using namespace std;
int main() {
  unordered_map<int, string> mp;
  unordered_map<int, string> mp1;
  mp[0] = "zero";
  mp[1] = "one";
  mp[2] = "two";
  mp[3] = "three";
  mp[4] = "four";
  mp[5] = "five";
  mp[6] = "six";
  mp[7] = "seven";
  mp[8] = "eight";
  mp[9] = "nine";
  mp[10] = "ten";
  mp[11] = "eleven";
  mp[12] = "twelve";
  mp[13] = "thirteen";
  mp[14] = "fourteen";
  mp[15] = "fifteen";
  mp[16] = "sixteen";
  mp[17] = "seventeen";
  mp[18] = "eighteen";
  mp[19] = "nineteen";
  mp[20] = "twenty";
  mp1[2] = "twenty";
  mp1[3] = "thirty";
  mp1[4] = "forty";
  mp1[5] = "fifty";
  mp1[6] = "sixty";
  mp1[7] = "seventy";
  mp1[8] = "eighty";
  mp1[9] = "ninety";
  string s;
  cin >> s;
  string m = "";
  if (s.size() == 1 && s[0] == '0') {
    cout << "zero";
  } else if (s.size() == 1) {
    cout << mp[int(s[0]) - 48];
  } else if (s.size() == 2 && s[0] <= '1') {
    int number = 10 * (int(s[0]) - 48) + (int(s[1]) - 48);
    cout << mp[number];
  } else if (s.size() == 2 && s[0] == '2' && s[1] == '0') {
    cout << mp[20];
  } else if (s.size() == 2 && s[1] == '0') {
    m = m + mp1[int(s[0]) - 48];
    cout << m;
  } else if (s.size() == 2) {
    m = m + mp1[int(s[0]) - 48];
    m = m + "-";
    m = m + mp[int(s[1]) - 48];
    cout << m;
  }
  return 0;
}
