#include <bits/stdc++.h>
using namespace std;
int main() {
  char s[2];
  scanf("%s", s);
  int len = strlen(s);
  string s1[14] = {"zero", "one",    "two",    "three",   "four",
                   "five", "six",    "seven",  "eight",   "nine",
                   "ten",  "eleven", "twelve", "thirteen"};
  string s2[1] = {"teen"};
  string s3[8] = {"twenty", "thirty",  "forty",  "fifty",
                  "sixty",  "seventy", "eighty", "ninety"};
  if (len == 1) {
    int digit = s[0] - 48;
    cout << s1[digit];
  } else {
    int first = s[0] - 48;
    int second = s[1] - 48;
    if (first == 1) {
      if (second == 0)
        cout << s1[10];
      else if (second == 1)
        cout << s1[11];
      else if (second == 2)
        cout << s1[12];
      else if (second == 3)
        cout << s1[13];
      else if (second == 5)
        cout << "fifteen";
      else if (second == 8)
        cout << "eighteen";
      else {
        string ans = s1[second] + s2[0];
        cout << ans;
      }
    } else {
      cout << s3[first - 2];
      if (second != 0) {
        cout << "-";
        cout << s1[second];
      }
    }
  }
}
