#include <iostream>
using namespace std;
string a[10] = {"zero", "one", "two", "three", "four", "five", "six", "seven", "eight", "nine"};
string b[10] = {"ten", "eleven", "twelve", "thirteen", "fourteen", "fifteen", "sixteen", "seventeen", "eighteen", "nineteen"};
string c[10] = {"tmp", "ten", "twenty", "thirty", "forty", "fifty", "sixty", "seventy", "eighty", "ninety"};
int main() {
int n;
cin >> n;
if (n < 10)
cout << a[n];
else if (n < 20)
cout << b[n % 10];
else {
cout << c[n / 10];
if (n % 10)
cout << '-' << a[n % 10];
}
cout << endl;
}
I2luY2x1ZGUgPGlvc3RyZWFtPgoKdXNpbmcgbmFtZXNwYWNlIHN0ZDsKCnN0cmluZyBhWzEwXSA9IHsiemVybyIsICJvbmUiLCAidHdvIiwgInRocmVlIiwgImZvdXIiLCAiZml2ZSIsICJzaXgiLCAic2V2ZW4iLCAiZWlnaHQiLCAibmluZSJ9OwpzdHJpbmcgYlsxMF0gPSB7InRlbiIsICJlbGV2ZW4iLCAidHdlbHZlIiwgInRoaXJ0ZWVuIiwgImZvdXJ0ZWVuIiwgImZpZnRlZW4iLCAic2l4dGVlbiIsICJzZXZlbnRlZW4iLCAiZWlnaHRlZW4iLCAibmluZXRlZW4ifTsKc3RyaW5nIGNbMTBdID0geyJ0bXAiLCAidGVuIiwgInR3ZW50eSIsICJ0aGlydHkiLCAiZm9ydHkiLCAiZmlmdHkiLCAic2l4dHkiLCAic2V2ZW50eSIsICJlaWdodHkiLCAibmluZXR5In07CgppbnQgbWFpbigpIHsKCWludCBuOwoJY2luID4+IG47CglpZiAobiA8IDEwKQoJCWNvdXQgPDwgYVtuXTsKCWVsc2UgaWYgKG4gPCAyMCkKCQljb3V0IDw8IGJbbiAlIDEwXTsKCWVsc2UgewoJCWNvdXQgPDwgY1tuIC8gMTBdOwoJCWlmIChuICUgMTApCgkJCWNvdXQgPDwgJy0nIDw8IGFbbiAlIDEwXTsKCX0KCWNvdXQgPDwgZW5kbDsKfQ==