#include <iostream>
#include <string>
using namespace std;

int main()
{
    string s1[10]={"zero","one","two","three","four","five","six","seven","eight","nine"};
    string s2[10]={"ten","eleven","twelve","thirteen","fourteen","fifteen","sixteen","seventeen","eighteen","nineteen"};
    string s3[10]={"twenty","thirty","forty","fifty","sixty","seventy","eighty","ninety"};
    int m;
    while(cin>>m)
    {
        if(m<10)
            cout<<s1[m]<<endl;
        else if(m>=10 && m<20)
            cout<<s2[m%10]<<endl;
        else
        {
            if(m%10 != 0)
                cout<<s3[m/10-2]<<"-"<<s1[m%10]<<endl;
            else
                cout<<s3[m/10-2]<<endl;
        }

    }
    return 0;
}

#include <bits/stdc++.h>
using namespace std;
int n;
char a[21][10] = { "zero",
                 "one", "two", "three", "four", "five",
                 "six", "seven", "eight", "nine", "ten",
                 "eleven", "twelve", "thirteen", "fourteen", "fifteen",
                 "sixteen", "seventeen", "eighteen", "nineteen"};
char b[10][10] = { "\0", "\0", "twenty", "thirty", "forty", "fifty",
                   "sixty", "seventy", "eighty", "ninety"};
int main() {
    scanf("%d", &n);
    if (n <= 19) printf(a[n]);
    else {
        printf(b[n / 10]);
        if (n % 10) putchar('-'), puts(a[n % 10]);
    }
    return 0;
}

// author : deepak4

#include <bits/stdc++.h>
using namespace std;

#define display(arr,s,e) for(i=s; i<=e; i++) cout<<arr[i]<<" ";
#define mset(arr,x) memset(arr,x,sizeof(arr))
#define MOD 1000003

#define rep(i,s,e) for(i=s;i<=e;i++)
#define rrep(i,s,e) for(i=s;i>=e;i--)

#define max(a,b) ((a)>(b)?(a):(b))
#define min(a,b) ((a)<(b)?(a):(b))

#define ll long long
#define pb push_back
#define mp make_pair
#define f first
#define s second

//STL COMMANDS
#define vi vector<int>
#define vvi vector<vi>
#define ii pair<int,int>
#define sii set<ii>
#define vii vector<ii>
#define msi multiset<int>
#define si set<int>
#define tr(type,c,it) for(type::iterator it=c.begin();it!=c.end();++it)
#define all(c) c.begin(),c.end()

//INPUT OUTPUT:
#define Sl(x) scanf("%lld",&x)
#define Pl(x) printf("%lld\n",x)
#define SS(x) scanf("%s",x)
#define PS(x) printf("%s\n",x)

string st;

int main()
{
    int n,klkl;
    cin>>n;
    map<int,string> grade;

    klkl=(n/10);
    if(klkl==0)
    {
          grade[1]="one";
          grade[2]="two";
          grade[3]="three";
          grade[4]="four";
          grade[5]="five";
          grade[6]="six";
          grade[7]="seven";
          grade[8]="eight";
          grade[9]="nine";
          grade[0]="zero";

          cout<<grade[n];
    }
    else
    {
          grade[1]="one";

          grade[2]="twenty";
          grade[3]="thirty";
          grade[4]="forty";
          grade[5]="fifty";
          grade[6]="sixty";
          grade[7]="seventy";
          grade[8]="eighty";
          grade[9]="ninety";
          grade[10]="ten";

          grade[11]="eleven";
          grade[12]="twelve";
          grade[13]="thirteen";
          grade[14]="fourteen";
          grade[15]="fifteen";
          grade[16]="sixteen";
          grade[17]="seventeen";
          grade[18]="eighteen";
          grade[19]="nineteen";
          grade[20]="twenty";
          grade[30]="thirty";
          grade[40]="forty";
          grade[50]="fifty";
          grade[60]="sixty";
          grade[70]="seventy";
          grade[80]="eighty";
          grade[90]="ninety";

          if((n>20) && (n%10!=0))
          {
                      ll jkjk=n%10;
                      n/=10;
                      ll opop=n%10;
                      cout<<grade[opop]<<"-";
                      n=jkjk;

                      grade[2]="two";
                      grade[3]="three";
                      grade[4]="four";
                      grade[5]="five";
                      grade[6]="six";
                      grade[7]="seven";
                      grade[8]="eight";
                      grade[9]="nine";
                      grade[0]="zero";
          }

          cout<<grade[n];
    }
    return 0;
}

#include <iostream>
#include <string>
using namespace std;

int main()
{

    string n;
	cin >> n;

	if (n.length() == 1)
	{
		switch (n[0])
		{
		case '0':
			cout << "zero";
			break;
		case '1':
			cout << "one";break;

			case '2':
			cout << "two";break;
			case '3':
			cout << "three";break;
			case '4':
			cout << "four";break;
			case '5':
			cout << "five";break;
			case '6':
			cout << "six";break;
			case '7':
			cout << "seven";break;
			case '8':
			cout << "eight";break;
			case '9':
			cout << "nine";break;
			default:
				break;
		}
	}
	else
	{
		if (n == "10")
			cout << "ten";
		if (n == "11")
			cout << "eleven";
		if (n == "12")
			cout << "twelve";
		if (n == "13")
			cout << "thirteen";
		if (n == "14")
			cout << "fourteen";
		if (n == "15")
			cout << "fifteen";
		if (n == "16")
			cout << "sixteen";
		if (n == "17")
			cout << "seventeen";
		if (n == "18")
			cout << "eighteen";
		if (n == "19")
			cout << "nineteen";
		if (n == "20")
			cout << "twenty";
		if (n == "21")
			cout << "twenty-one";
		if (n == "22")
			cout << "twenty-two";
		if (n == "23")
			cout << "twenty-three";
		if (n == "24")
			cout << "twenty-four";
		if (n == "25")
			cout << "twenty-five";
		if (n == "26")
			cout << "twenty-six";
		if (n == "27")
			cout << "twenty-seven";
		if (n == "28")
			cout << "twenty-eight";
		if (n == "29")
			cout << "twenty-nine";

		if (n == "30")
			cout << "thirty";
		if (n == "31")
			cout << "thirty-one";
		if (n == "32")
			cout << "thirty-two";
		if (n == "33")
			cout << "thirty-three";
		if (n == "34")
			cout << "thirty-four";
		if (n == "35")
			cout << "thirty-five";
		if (n == "36")
			cout << "thirty-six";
		if (n == "37")
			cout << "thirty-seven";
		if (n == "38")
			cout << "thirty-eight";
		if (n == "39")
			cout << "thirty-nine";

		if (n == "40")
			cout << "forty";
		if (n == "41")
			cout << "forty-one";
		if (n == "42")
			cout << "forty-two";
		if (n == "43")
			cout << "forty-three";
		if (n == "44")
			cout << "forty-four";
		if (n == "45")
			cout << "forty-five";
		if (n == "46")
			cout << "forty-six";
		if (n == "47")
			cout << "forty-seven";
		if (n == "48")
			cout << "forty-eight";
		if (n == "49")
			cout << "forty-nine";

		if (n == "50")
			cout << "fifty";
		if (n == "51")
			cout << "fifty-one";
		if (n == "52")
			cout << "fifty-two";
		if (n == "53")
			cout << "fifty-three";
		if (n == "54")
			cout << "fifty-four";
		if (n == "55")
			cout << "fifty-five";
		if (n == "56")
			cout << "fifty-six";
		if (n == "57")
			cout << "fifty-seven";
		if (n == "58")
			cout << "fifty-eight";
		if (n == "59")
			cout << "fifty-nine";

		if (n == "60")
			cout << "sixty";
		if (n == "61")
			cout << "sixty-one";
		if (n == "62")
			cout << "sixty-two";
		if (n == "63")
			cout << "sixty-three";
		if (n == "64")
			cout << "sixty-four";
		if (n == "65")
			cout << "sixty-five";
		if (n == "66")
			cout << "sixty-six";
		if (n == "67")
			cout << "sixty-seven";
		if (n == "68")
			cout << "sixty-eight";
		if (n == "69")
			cout << "sixty-nine";

		if (n == "70")
			cout << "seventy";
		if (n == "71")
			cout << "seventy-one";
		if (n == "72")
			cout << "seventy-two";
		if (n == "73")
			cout << "seventy-three";
		if (n == "74")
			cout << "seventy-four";
		if (n == "75")
			cout << "seventy-five";
		if (n == "76")
			cout << "seventy-six";
		if (n == "77")
			cout << "seventy-seven";
		if (n == "78")
			cout << "seventy-eight";
		if (n == "79")
			cout << "seventy-nine";

		if (n == "80")
			cout << "eighty";
		if (n == "81")
			cout << "eighty-one";
		if (n == "82")
			cout << "eighty-two";
		if (n == "83")
			cout << "eighty-three";
		if (n == "84")
			cout << "eighty-four";
		if (n == "85")
			cout << "eighty-five";
		if (n == "86")
			cout << "eighty-six";
		if (n == "87")
			cout << "eighty-seven";
		if (n == "88")
			cout << "eighty-eight";
		if (n == "89")
			cout << "eighty-nine";

		if (n == "90")
			cout << "ninety";
		if (n == "91")
			cout << "ninety-one";
		if (n == "92")
			cout << "ninety-two";
		if (n == "93")
			cout << "ninety-three";
		if (n == "94")
			cout << "ninety-four";
		if (n == "95")
			cout << "ninety-five";
		if (n == "96")
			cout << "ninety-six";
		if (n == "97")
			cout << "ninety-seven";
		if (n == "98")
			cout << "ninety-eight";
		if (n == "99")
			cout << "ninety-nine";

	}

}

#include <bits/stdc++.h>

using namespace std;

int main(){
    int n;
    cin >> n;
    int t = n/10;
    int o = n%10;
    switch(t){
    case 2:
        {
        cout << "twenty";
        break;
        }
    case 3:
    {
        cout << "thirty";break;
    }
    case 4:
    {
        cout << "forty";break;
    }
    case 5:
    {
        cout << "fifty";break;
    }
    case 6:
    {
        cout << "sixty";break;
    }
    case 7:
    {
        cout << "seventy";break;
    }
    case 8:
    {
        cout << "eighty";break;
    }
    case 9:
    {
        cout << "ninety";break;
    }
    }
    if(t != 1){
            if(t != 0 and o!=0){
                cout << "-";
            }
        switch(o){
        case 1:
        {cout << "one";break;}
         case 2:
          {cout << "two";break;}

         case 3:
          {cout << "three";break;}

         case 4:
          {cout << "four";break;}

         case 5:
          {cout << "five";break;}

         case 6:
          {cout << "six";break;}

         case 7:
          {cout << "seven";break;}

         case 8:
          {cout << "eight";break;}

         case 9:
          {cout << "nine";break;}
        }

    }
    else{
        switch(n){
        case 10:{
            cout << "ten";
            break;
        }
        case 11:
            {
            cout << "eleven";
            break;
            }
        case 12:
            {
            cout << "twelve";
            break;
            }
        case 13:
            {
            cout << "thirteen";
            break;
            }
        case 14:
           {
            cout << "fourteen";
            break;
            }
        case 15:
            {
            cout << "fifteen";
            break;
            }
        case 16:
           {
            cout << "sixteen";
            break;
            }
        case 17:
            {
            cout << "seventeen";
            break;
            }
        case 18:
            {
            cout << "eighteen";
            break;
            }
        case 19:
            {
            cout << "nineteen";
            break;
            }

    }
    }
    if(n == 0){
        cout << "zero";
    }
}

#include <bits/stdc++.h>
using namespace std;

int n;

int main (){
	cin >> n;
	if (n == 0)
		cout << "zero";
	if (n >= 10 && n <= 19){
		if (n == 10) cout <<"ten";
		if (n == 11) cout <<"eleven";
		if (n == 12) cout <<"twelve";
		if (n == 13)cout <<"thirteen";
		if (n == 14)cout <<"fourteen";
		if (n == 15)cout <<"fifteen";
		if (n == 16)cout <<"sixteen";
		if (n == 17)cout <<"seventeen";
		if (n == 18)cout <<"eighteen";
		if (n == 19)cout <<"nineteen";
		return 0;
	}
	if (n >= 20){
			if (n/10 == 1) cout <<"ten";
			if (n/10 == 2) cout <<"twenty";
			if (n/10 == 3)cout <<"thirty";
			if (n/10 == 4)cout <<"forty";
			if (n/10 == 5)cout <<"fifty";
			if (n/10 == 6)cout <<"sixty";
			if (n/10 == 7)cout <<"seventy";
			if (n/10 == 8)cout <<"eighty";
			if (n/10 == 9)cout <<"ninety";
			n %= 10;
			if (n)
				cout <<'-';
	}
	if (n == 1) cout <<"one";
	if (n == 2) cout <<"two";
	if (n == 3)cout <<"three";
	if (n == 4)cout <<"four";
	if (n == 5)cout <<"five";
	if (n == 6)cout <<"six";
	if (n == 7)cout <<"seven";
	if (n == 8)cout <<"eight";
	if (n == 9)cout <<"nine";
	cout <<endl;
}

#include<bits/stdc++.h>
#define io ios_base::sync_with_stdio(false);cin.tie(NULL);cout.tie(NULL);
using namespace std;
int main(){
    io
    string s,unit[]={"zero","one","two","three","four","five","six","seven","eight",
                        "nine"},
            ten[]={"ten","eleven","twelve","thirteen","fourteen","fifteen","sixteen",
                    "seventeen","eighteen","nineteen"},
            dec[]={"","ten","twenty","thirty","forty","fifty","sixty","seventy","eighty",
                    "ninety"};
    cin>>s;
    if(s.size()==1){
        cout<<unit[s[0]-'0']<<endl;
    }
    else{
        if(s[0]=='1'){
            cout<<ten[s[1]-'0']<<endl;
        }
        else{
            cout<<dec[s[0]-'0'];
            if(s[1]!='0'){
                cout<<"-"<<unit[s[1]-'0']<<endl;
            }
        }
    }
    return 0;
}

#include <iostream>
#include <string>
#include <vector>
#include <list>
#include <queue>
#include <map>
#include <algorithm>
#include <stdio.h>
#include <stdlib.h>

#define SZ(X) ((int)(X).size())
#define ALL(X) (X).begin(), (X).end()
#define REP(I, N) for (int I = 0; I < (N); ++I)
#define REPP(I, A, B) for (int I = (A); I < (B); ++I)
#define RI(X) scanf("%d", &(X))
#define RII(X, Y) scanf("%d%d", &(X), &(Y))
#define RIII(X, Y, Z) scanf("%d%d%d", &(X), &(Y), &(Z))
#define DRI(X) int (X); scanf("%d", &X)
#define DRII(X, Y) int X, Y; scanf("%d%d", &X, &Y)
#define DRIII(X, Y, Z) int X, Y, Z; scanf("%d%d%d", &X, &Y, &Z)
#define RS(X) scanf("%s", (X))
#define CASET int ___T, case_n = 1; scanf("%d ", &___T); while (___T-- > 0)
#define MP make_pair
#define PB push_back
#define MS0(X) memset((X), 0, sizeof((X)))
#define MS1(X) memset((X), -1, sizeof((X)))
#define LEN(X) strlen(X)
#define PII pair<int,int>
#define VPII vector<pair<int,int> >
#define PLL pair<long long,long long>
#define F first
#define S second

using namespace std;

int main()
{
#ifdef HOME
	freopen("input.txt", "r", stdin);
	freopen("output.txt", "w", stdout);

#endif
		int s;
		RI(s);
		if (s >= 20 && s / 10 == 2)cout << "twenty";
		if (s > 20 && s / 10 == 3)cout << "thirty";
		if (s > 20 && s / 10 == 4)cout << "forty";
		if (s > 20 && s / 10 == 5)cout << "fifty";
		if (s > 20 && s / 10 == 6)cout << "sixty";
		if (s > 20 && s / 10 == 7)cout << "seventy";
		if (s > 20 && s / 10 == 8)cout << "eighty";
		if (s > 20 && s / 10 == 9)cout << "ninety";
		if (s == 10) cout << "ten";
		if (s == 11) cout << "eleven";
		if (s == 12) cout << "twelve";
		if (s == 13) cout << "thirteen";
		if (s == 14) cout << "fourteen";
		if (s == 15) cout << "fifteen";
		if (s == 16) cout << "sixteen";
		if (s == 17) cout << "seventeen";
		if (s == 18) cout << "eighteen";
		if (s == 19) cout << "nineteen";
		if (s >= 10 && s <= 19){
			return 0;
		}
		if (s > 20 && s % 10 > 0)cout << "-";
		if (s == 0) cout << "zero";
		if (s % 10 == 1) cout << "one";
		if (s % 10 == 2) cout << "two";
		if (s % 10 == 3) cout << "three";
		if (s % 10 == 4) cout << "four";
		if (s % 10 == 5) cout << "five";
		if (s % 10 == 6) cout << "six";
		if (s % 10 == 7) cout << "seven";
		if (s % 10 == 8) cout << "eight";
		if (s % 10 == 9) cout << "nine";

}

#include <iostream>
using namespace std;
int main()
{
    int number;
    int first_digit;
    int second_digit;
    cin>>number;
    first_digit = number/10;
    second_digit = number%10;
    if(number>=0 && number<=9)
    {
        switch(number)
        {
        case 0:
            cout<<"zero";
            break;
            case 1:
                std::cout<<"one";
                break;
            case 2:
                std::cout<<"two";
                break;
            case 3:
                std::cout<<"three";
                break;
            case 4:
                std::cout<<"four";
                break;
            case 5:
                std::cout<<"five";
                break;
            case 6:
                std::cout<<"six";
                break;
            case 7:
                std::cout<<"seven";
                break;
            case 8:
                std::cout<<"eight";
                break;
            case 9:
                std::cout<<"nine";
                break;
            default:
                break;

        }
    }
    else if(number >= 11 && number < 20)
    {
        switch(number)
        {
            case 11:
                std::cout<<"eleven";
                break;

            case 12:
                std::cout<<"twelve";
                break;
            case 13:
                std::cout<<"thirteen";
                break;
            case 14:
                std::cout<<"fourteen";
                break;
            case 15:
                std::cout<<"fifteen";
                break;
            case 16:
                std::cout<<"sixteen";
                break;
            case 17:
                std::cout<<"seventeen";
                break;
            case 18:
                std::cout<<"eighteen";
                break;
            case 19:
                std::cout<<"nineteen";
                break;
        }
    }
    else
    {
        switch(first_digit)
        {
            case 1:
                if(second_digit == 0)
                    std::cout<<"ten";
                break;
            case 2:
                if(second_digit==0){
                std::cout<<"twenty";break;}
                cout<<"twenty";
                {if(first_digit > 1 && number != 100) std::cout<<"-";
        switch(second_digit)
        {
            case 1:
                std::cout<<"one";
                break;
            case 2:
                std::cout<<"two";
                break;
            case 3:
                std::cout<<"three";
                break;
            case 4:
                std::cout<<"four";
                break;
            case 5:
                std::cout<<"five";
                break;
            case 6:
                std::cout<<"six";
                break;
            case 7:
                std::cout<<"seven";
                break;
            case 8:
                std::cout<<"eight";
                break;
            case 9:
                std::cout<<"nine";
                break;
            default:
                break;

        }
        }
                break;
            case 3:
                if(second_digit==0){
                std::cout<< "thirty";break;}
                cout<<"thirty";
                {if(first_digit > 1 && number != 100) std::cout<<"-";
        switch(second_digit)
        {
            case 1:
                std::cout<<"one";
                break;
            case 2:
                std::cout<<"two";
                break;
            case 3:
                std::cout<<"three";
                break;
            case 4:
                std::cout<<"four";
                break;
            case 5:
                std::cout<<"five";
                break;
            case 6:
                std::cout<<"six";
                break;
            case 7:
                std::cout<<"seven";
                break;
            case 8:
                std::cout<<"eight";
                break;
            case 9:
                std::cout<<"nine";
                break;
            default:
                break;
        }
        }
                break;
            case 4:
                if(second_digit==0){
                std::cout<< "forty";break;}
                cout<<"forty";

                {if(first_digit > 1 && number != 100) std::cout<<"-";
        switch(second_digit)
        {
            case 1:
                std::cout<<"one";
                break;
            case 2:
                std::cout<<"two";
                break;
            case 3:
                std::cout<<"three";
                break;
            case 4:
                std::cout<<"four";
                break;
            case 5:
                std::cout<<"five";
                break;
            case 6:
                std::cout<<"six";
                break;
            case 7:
                std::cout<<"seven";
                break;
            case 8:
                std::cout<<"eight";
                break;
            case 9:
                std::cout<<"nine";
                break;
            default:
                break;
        }
        }

                break;
            case 5:
                if(second_digit==0){
                std::cout<< "fifty";break;}
                cout<<"fifty";
                {if(first_digit > 1 && number != 100) std::cout<<"-";
        switch(second_digit)
        {
            case 1:
                std::cout<<"one";
                break;
            case 2:
                std::cout<<"two";
                break;
            case 3:
                std::cout<<"three";
                break;
            case 4:
                std::cout<<"four";
                break;
            case 5:
                std::cout<<"five";
                break;
            case 6:
                std::cout<<"six";
                break;
            case 7:
                std::cout<<"seven";
                break;
            case 8:
                std::cout<<"eight";
                break;
            case 9:
                std::cout<<"nine";
                break;
            default:
                break;
        }
        }

                break;
            case 6:
                if(second_digit==0){
                std::cout<< "sixty";break;}
                cout<<"sixty";

                {if(first_digit > 1 && number != 100) std::cout<<"-";
        switch(second_digit)
        {
            case 1:
                std::cout<<"one";
                break;
            case 2:
                std::cout<<"two";
                break;
            case 3:
                std::cout<<"three";
                break;
            case 4:
                std::cout<<"four";
                break;
            case 5:
                std::cout<<"five";
                break;
            case 6:
                std::cout<<"six";
                break;
            case 7:
                std::cout<<"seven";
                break;
            case 8:
                std::cout<<"eight";
                break;
            case 9:
                std::cout<<"nine";
                break;
            default:
                break;
        }
        }

                break;
            case 7:
                if(second_digit==0){
                std::cout<< "seventy";break;}
                cout<<"seventy";

                {if(first_digit>1 && number != 100) std::cout<<"-";
        switch(second_digit)
        {
            case 1:
                std::cout<<"one";
                break;
            case 2:
                std::cout<<"two";
                break;
            case 3:
                std::cout<<"three";
                break;
            case 4:
                std::cout<<"four";
                break;
            case 5:
                std::cout<<"five";
                break;
            case 6:
                std::cout<<"six";
                break;
            case 7:
                std::cout<<"seven";
                break;
            case 8:
                std::cout<<"eight";
                break;
            case 9:
                std::cout<<"nine";
                break;
            default:
                break;
        }
        }

                break;
            case 8:
                if(second_digit==0){
                std::cout<< "eighty";break;}
cout<<"eighty";
                {if(first_digit > 1 && number != 100) std::cout<<"-";
        switch(second_digit)
        {
            case 1:
                std::cout<<"one";
                break;
            case 2:
                std::cout<<"two";
                break;
            case 3:
                std::cout<<"three";
                break;
            case 4:
                std::cout<<"four";
                break;
            case 5:
                std::cout<<"five";
                break;
            case 6:
                std::cout<<"six";
                break;
            case 7:
                std::cout<<"seven";
                break;
            case 8:
                std::cout<<"eight";
                break;
            case 9:
                std::cout<<"nine";
                break;
            default:
                break;
        }
        }

                break;
            case 9:
                if(second_digit==0){
                std::cout<< "ninety";break;}
cout<<"ninety";
                {if(first_digit > 1 && number != 100) std::cout<<"-";
        switch(second_digit)
        {
            case 1:
                std::cout<<"one";
                break;
            case 2:
                std::cout<<"two";
                break;
            case 3:
                std::cout<<"three";
                break;
            case 4:
                std::cout<<"four";
                break;
            case 5:
                std::cout<<"five";
                break;
            case 6:
                std::cout<<"six";
                break;
            case 7:
                std::cout<<"seven";
                break;
            case 8:
                std::cout<<"eight";
                break;
            case 9:
                std::cout<<"nine";
                break;
            default:
                break;
        }
                }
        }

    }
    return 0;
}

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

    }

       else{
            if(c==0){
         cout << b[n/10]<<endl;
            }
       else
        cout << b[n/10]<<"-"<<a[n%10]<<endl;
       }
    return 0;
}

#include <bits/stdc++.h>
using namespace std;
#define fastio() ios_base::sync_with_stdio(0); cin.tie(0); cout.tie(0)
#define pb  push_back
#define endl "\n"
#define int long long
#define ll  long long
#define ld  long double
const ll mod1    = static_cast<int>(1073741824);
const ll mod2    = static_cast<int>(1000000007);
const ll INF     = 1ll*1000*1000*1000*1000*1000*1000 + 7;
const ld ldOne   = 1.0;
#define all(v) v.begin(),v.end()
#define rall(v) r.begin(),r.end()
#define rep(i,a,b) for(int i=a;i<b;i++)
#define fo(i,n) rep(i,0,n)
#define vi vector <int>
#define sq(n) ((n)*(n))
ll gcd(ll a, ll b){if(!b)return a;return gcd(b, a % b);}
ll lcm(ll a , ll b){return (a*b)/gcd(a,b);}
ll power(ll x,ll y,ll p ){ll res=1;x%=p;while(y>0){if(y&1)res=(res*x)%p;y=y>>1;x=(x*x)%p;}return res;} //p is a prime using FLT otherwise p=INF
ll exp(ll x,ll n){if(n==0)return 1;else if(n&1)return x*exp(x*x,(n-1)/2);else return exp(x*x,n/2);}
bool isPrime(ll n){for(ll i=0;i*i<=n;i++){if(n%i==0) return false;}return true;}
vector <int> SieveOfEratosthenes(int n){vector <bool> prime(n+1,true); for(int p=2;p*p<=n;p++){if(prime[p]){for(int i=p*p;i<=n;i+=p)
					prime[i]=false;}}vector <int> v;for(int i=2;i<=n;i++){if(prime[i])v.push_back(i);}return v;}
signed main()
{
    fastio();
    //cout<<fixed<<setprecision(20);
    //CHECK for LONG LONG and LONG DOUBLE
    //*comment for all except cc/cf
    #ifndef ONLINE_JUDGE
           freopen("input.txt","r",stdin);
           freopen("output.txt","w",stdout);
    #endif//*/
    int s;
    cin>>s;
    if(s==0){cout<<"zero";return 0;}
    if(s>10 && s<20)
    {
        switch(s)
        {
            case 11:cout<<"eleven";break;
            case 12:cout<<"twelve";break;
            case 13:cout<<"thirteen";break;
            case 14:cout<<"fourteen";break;
            case 15:cout<<"fifteen";break;
            case 16:cout<<"sixteen";break;
            case 17:cout<<"seventeen";break;
            case 18:cout<<"eighteen";break;
            case 19:cout<<"nineteen";break;
        }
        return 0;
    }
    int tens=s/10,ones=s%10;
    switch(tens)
    {
        case 1:cout<<"ten";break;
        case 2:cout<<"twenty";break;
        case 3:cout<<"thirty";break;
        case 4:cout<<"forty";break;
        case 5:cout<<"fifty";break;
        case 6:cout<<"sixty";break;
        case 7:cout<<"seventy";break;
        case 8:cout<<"eighty";break;
        case 9:cout<<"ninety";break;
    }
    if(tens&&ones)cout<<"-";
    switch(ones)
    {
        case 1:cout<<"one";break;
        case 2:cout<<"two";break;
        case 3:cout<<"three";break;
        case 4:cout<<"four";break;
        case 5:cout<<"five";break;
        case 6:cout<<"six";break;
        case 7:cout<<"seven";break;
        case 8:cout<<"eight";break;
        case 9:cout<<"nine";break;
    }
    return 0;
}

#include<iostream>
#include<vector>
#include<string>
using namespace std;
int main()
{
    string str[4][12]={
        {"zero","one","two","three","four","five","six","seven","eight","nine"},
        {"ten","eleven","twelve","thirteen","fourteen","fifteen","sixteen","seventeen","eighteen","nineteen"},
        {"ten","twenty","thirty","forty","fifty","sixty","seventy","eighty","ninety"}
    };
    int n;
    cin>>n;
    if(n<10) cout<<str[0][n]<<endl;
    else if(n/10==1) cout<<str[1][n%10]<<endl;
    else if(n%10==0) cout<<str[2][(n/10)-1]<<endl;
    else{
        cout<<str[2][(n/10)-1]<<"-"<<str[0][n%10]<<endl;
    }
    return 0;
}

#include <iostream>
#include <vector>
#include <string>
#include <sstream>
#include <algorithm>
using namespace std;
int main(){
	unsigned int n;
	cin >> n;
	ostringstream convert;
	convert << n;
	string str = convert.str();
	string ar[] = { "zero", "one", "two", "three", "four", "five", "six", "seven", "eight", "nine" };
	string arr[] = { "eleven", "twelve", "thirteen" };
	string arra[] = { "ten", "twenty", "thirty" };
	if (n >= 0 && n <= 9) cout << ar[n];
	else if (n == 11 || n == 12 || n == 13) cout << arr[n - 11];
	else if (n == 10 || n == 20 || n == 30) cout << arra[n / 10 - 1];
	else if (n == 15) cout << "fifteen";
	else if (n == 40) cout << "forty";
	else if (n == 50) cout << "fifty";
	else if (n == 18) cout << "eighteen";
	else if (n == 80) cout << "eighty";
	else if (n >= 14 && n <= 19) cout << ar[n - 10] + "teen";
	else if (str[0] == '5' && str[1] >= '1') cout << "fifty-" << ar[str[1] - '0'];
	else if (str[0] == '4' && str[1] >= '1') cout << "forty-" << ar[str[1] - '0'];
	else if (str[0] == '8' && str[1] >= '1') cout << "eighty-" << ar[str[1] - '0'];
	else if (str[0] >= '6' && str[1] == '0') cout << ar[str[0] - '0'] + "ty";
	else if (str[0] >= '6' && str[1] >= '1') cout << ar[str[0] - '0'] + "ty-" << ar[str[1] - '0'];
	else if (str[0] < '4' && str[1] >= '1') cout << arra[str[0] - '0' - 1] << "-" << ar[str[1] - '0'];
	cout << endl;
	return 0;
}

/*GOD     IS    GREAT,
  SO    AM    I*/
 /* HI! STALKER*/
#include<bits/stdc++.h>
using namespace std;
#define ll long long int
#define op(z) cout<<z
#define ops(z) cout<<z<<" "
#define fastIO ios_base::sync_with_stdio(0);cin.tie(0);cout.tie(0);
#define debug(x) cout<<#x<<" "<<x<<endl
int main()
{
    fastIO;
    int s;
    cin>>s;
    switch(s)
    {
        case 0:
        if(s==0)
        op("zero");
        break;
        case 1:
        if(s==1)
        op("one");
        break;
        case 2:
        if(s==2)
        op("two");
        break;case 3:
        if(s==3)
        op("three");
        break;case 4:
        if(s==4)
        op("four");
        break;case 5:
        if(s==5)
        op("five");
        break;case 6:
        if(s==6)
        op("six");
        break;case 7:
        if(s==7)
        op("seven");
        break;case 8:
        if(s==8)
        op("eight");
        break;case 9:
        if(s==9)
        op("nine");
        break;case 10:
        if(s==10)
        op("ten");
        break;case 11:
        if(s==11)
        op("eleven");
        break;case 12:
        if(s==12)
        op("twelve");
        break;case 13:
        if(s==13);
        op("thirteen");
        break;case 14:
        if(s==14)
        op("fourteen");
        break;case 15:
        if(s==15)
        op("fifteen");
        break;case 16:
        if(s==16)
        op("sixteen");
        break;case 17:
        if(s==17)
        op("seventeen");
        break;case 18:
        if(s==18)
        op("eighteen");
        break;case 19:
        if(s==19)
        op("nineteen");
        break;case 20:
        if(s==20)
        op("twenty");
        break;
        case 50:
        op("fifty");
        break;case 60:
        op("sixty");
        break;case 70:

        op("seventy");
        break;case 80:

        op("eighty");
        break;case 90:

        op("ninety");
        break;case 30:
        op("thirty");
        break;case 40:
        op("forty");
        break;
    }
    ll e=s%10;
    if(s>20)
    {
    	if(s>20&&s<30)
		{
			op("twenty-");

			}

		if(s>30&&s<40)
		{
			op("thirty-");
		}
		if(s>40&&s<50)
		{
			op("forty-");
		}
		if(s<60&&s>50)
		{
			op("fifty-");
		}
		if(s<70&&s>60)
		{
			op("sixty-");
		}
		if(s<80&&s>70)
		{
			op("seventy-");
		}
		if(s<90&&s>80)
		{
			op("eighty-");
		}
		if(s<100&&s>90)
		{
			op("ninety-");
		}
	}
	if(s>20&&s!=30&&s!=40&&s!=50&&s!=60&&s!=70&&s!=80&&s!=90)
	switch(e)
	{
		case 0:
        if(e==0)
        op("zero");
        break;
        case 1:
        if(e==1)
        op("one");
        break;
        case 2:
        if(e==2)
        op("two");
        break;case 3:
        if(e==3)
        op("three");
        break;case 4:
        if(e==4)
        op("four");
        break;case 5:
        if(e==5)
        op("five");
        break;case 6:
        if(e==6)
        op("six");
        break;case 7:
        if(e==7)
        op("seven");
        break;case 8:
        if(e==8)
        op("eight");
        break;case 9:
        if(e==9)
        op("nine");
        break;
	}
}

#include<iostream>
#include<cstdio>
#include<string>
#include<vector>
#include<set>
#include<map>
#include<algorithm>
#include<iomanip>
using namespace std;
typedef long long ll;
typedef pair<int, int> P;
typedef double db;
string fun1(int x){
	if(x==0) return "zero";
	if(x==1) return "one";
	if(x==2) return "two";
	if(x==3) return "three";
	if(x==4) return "four";
	if(x==5) return "five";
	if(x==6) return "six";
	if(x==7) return "seven";
	if(x==8) return "eight";
	if(x==9) return "nine";
}
string fun2(int x){
	if(x==2) return "twenty";
	if(x==3) return "thirty";
	if(x==4) return "forty";
	if(x==5) return "fifty";
	if(x==6) return "sixty";
	if(x==7) return "seventy";
	if(x==8) return "eighty";
	if(x==9) return "ninety";
}
string fun3(int x){
	if(x==0) return "ten";
	if(x==1) return "eleven";
	if(x==2) return "twelve";
	if(x==3) return "thirteen";
	if(x==4) return "fourteen";
	if(x==5) return "fifteen";
	if(x==6) return "sixteen";
	if(x==7) return "seventeen";
	if(x==8) return "eighteen";
	if(x==9) return "nineteen";
}
int main(){
	string s;
	cin>>s;
	if(s.size()==1) cout<<fun1(s[0]-48);
	else if(s[0]=='1') cout<<fun3(s[1]-48);
	else if(s[1]=='0') cout<<fun2(s[0]-48);
	else cout<<fun2(s[0]-48)<<"-"<<fun1(s[1]-48);
}

#include<bits/stdc++.h>
#define end endl
using namespace std;
void f( int i)
{
    if(i==0) cout<<"zero"<<end;
    else
    {
        int n=i/10;
        if(n>=1)
        {
            if(n==1)
            {
                if(i==10) cout<<"ten";
                if(i==11) cout<<"eleven";
                if(i==12) cout<<"twelve";
                if(i==13) cout<<"thirteen";
                if(i==14) cout<<"fourteen";
                if(i==15) cout<<"fifteen";
                if(i==16) cout<<"sixteen";
                if(i==17) cout<<"seventeen";
                if(i==18) cout<<"eighteen";
                if(i==19) cout<<"nineteen";

            }
            if(n==2) cout<<"twenty";
            else if(n==3) cout<<"thirty";
            else if(n==4) cout<<"forty";
            else if(n==5) cout<<"fifty";
            else if(n==6) cout<<"sixty";
            else if(n==7) cout<<"seventy";
            else if(n==8) cout<<"eighty";
            else if(n==9) cout<<"ninety";
        }
        int k=i;
        i=i%10;
        if(i!=0 && k>20) cout<<"-";
        if(i<10)
        {
            if(k>19 || k<10)
            {
                if(i==1) cout<<"one";
                if(i==2) cout<<"two";
                if(i==3) cout<<"three";
                if(i==4) cout<<"four";
                if(i==5) cout<<"five";
                if(i==6) cout<<"six";
                if(i==7) cout<<"seven";
                if(i==8) cout<<"eight";
                if(i==9) cout<<"nine";
            }
        }
    }
}
int main()
{
    int i;
    cin>>i;
    f(i);
    return 0;
}

#include <algorithm>
#include <iostream>
#include <utility>
#include <cstring>
#include <vector>
#include <string>
#include <cstdio>
#include <cmath>
#include <queue>
#include <stack>
#include <map>

#define xx first
#define yy second
#define mp make_pair
#define pb push_back
#define mod 1000000007
using namespace std;

main()
{
    string s[15] = {"zero", "one", "two", "three", "four", "five", "six", "seven", "eight", "nine", "ten", "eleven", "twelve"};
    string ss[11] = {"thirteen", "fourteen", "fifteen", "sixteen", "seventeen", "eighteen", "nineteen"};
    string s1[11] = {"twenty", "thirty", "forty", "fifty", "sixty", "seventy", "eighty", "ninety"};
    int a;
    cin >> a;
    if(a < 13){ cout << s[a]; cout << endl;return 0;}
    if(a < 20) {cout << ss[a-13]; cout << endl;return 0;}
    int b = a/10;
    cout << s1[b-2] ;
    if(a%10!=0) cout << "-" << s[a%10];

 cout << endl;

    return 0;
}

#include <bits/stdc++.h>
using namespace std;
#define ll long long
#define pb push_back
#define sc scanf
#define pf printf
#define mk make_pair

int main()
{
    int n;
    sc("%d",&n);
    string a[]= {"zero","one","two","three","four","five","six","seven","eight","nine"};
    string b[]= {"ten","twenty","thirty","forty","fifty","sixty","seventy","eighty","ninety"};
    string d[]= {"ten","eleven","twelve","thirteen","fourteen","fifteen","sixteen","seventeen","eighteen","nineteen"};
    if(n==0)
    {
        cout<<a[0];
    }
    else if(n%10==0)//ten twenty thirty ...
    {
        cout<<b[n/10-1];
    }
    else if(n>10&&n<20)//between 11 and 19
    {
        cout<<d[n%10];
    }
    else if (n<10){cout<<a[n];} // Less than 10
    else // More Than 20
    {
        cout<<b[n/10-1]<<"-"<<a[n%10];
    }
}

#include <bits/stdc++.h>
using namespace std;
#define ll long long
#define pb push_back
#define sc scanf
#define pf printf
#define mk make_pair

int main()
{
    int n;
    sc("%d",&n);
    string a[]= {"zero","one","two","three","four","five","six","seven","eight","nine"};
    string b[]= {"ten","twenty","thirty","forty","fifty","sixty","seventy","eighty","ninety"};
    string d[]= {"ten","eleven","twelve","thirteen","fourteen","fifteen","sixteen","seventeen","eighteen","nineteen"};
    if(n==0){cout<<a[0];}
    else if(n%10==0){cout<<b[n/10-1];}
    else if(n>=10&&n<20){cout<<d[n%10];}
    else if (n<10)cout<<a[n];
    else{cout<<b[n/10-1]<<"-"<<a[n%10];}
}

#include<iostream>
using namespace std;
int main ()
{
	int n,x,y;
	cin>>n;
	if (n<100)
	{
	 if (n<10)
	{
		switch(n)
	{
		case 0: cout<<"zero";break;
		case 1: cout<<"one";break;
		case 2: cout<<"two";break;
		case 3: cout<<"three";break;
		case 4: cout<<"four";break;
		case 5: cout<<"five";break;
		case 6: cout<<"six";break;
		case 7: cout<<"seven";break;
		case 8: cout<<"eight";break;
		case 9: cout<<"nine";break;
	}
	}
	else if (n>=10 && n<20)
	{
		switch(n)
		{
			case 10: cout<<"ten";break;
			case 11: cout<<"eleven";break;
			case 12: cout<<"twelve";break;
			case 13: cout<<"thirteen";break;
			case 14: cout<<"fourteen";break;
			case 15: cout<<"fifteen";break;
			case 16: cout<<"sixteen";break;
			case 17: cout<<"seventeen";break;
			case 18: cout<<"eighteen";break;
			case 19: cout<<"nineteen";break;
		}
	}
	else if (n>=20)
	{
	x=n%10;
	y=n/10;
	switch(y)
	{
		case 2: cout<<"twenty";break;
		case 3: cout<<"thirty";break;
		case 4: cout<<"forty";break;
		case 5: cout<<"fifty";break;
		case 6: cout<<"sixty";break;
		case 7: cout<<"seventy";break;
		case 8: cout<<"eighty";break;
		case 9: cout<<"ninety";break;
	}
	 if (x!=0)cout<<"-";
	switch(x)
	{
		case 1: cout<<"one";break;
		case 2: cout<<"two";break;
		case 3: cout<<"three";break;
		case 4: cout<<"four";break;
		case 5: cout<<"five";break;
		case 6: cout<<"six";break;
		case 7: cout<<"seven";break;
		case 8: cout<<"eight";break;
		case 9: cout<<"nine";break;
	}
}
}
}

#include <cstdio>
#include <cmath>
#include <cstdlib>
#include <cstring>
#include <vector>
#include <queue>
#include <stack>
#include <string>
#include <set>
#include <map>
#include <algorithm>
#include <sstream>
#include <iostream>
#include <numeric>

using namespace std;

#define FOR(i, n) for(int i = 0; i < (n); ++i)
#define SIZEOF(a) (sizeof(a)/sizeof((a)[0]))

typedef long long ll;

const int MAX_N = 1e6+10;
ll a[MAX_N];
ll b[MAX_N];
ll c[MAX_N];

const int BUFSIZE = 1000000;
char buf[BUFSIZE + 1];
string nextString() {
	scanf("%s", buf); return buf;
}

int main()
{
	string s; cin >> s;
	size_t n = s.size();

	if(s=="0"){
		cout << "zero" << endl;
		return 0;
	}

	if(n == 2 && s[0]=='1'){
		int i = 1;
		if(s[i]=='0') cout << "ten";		// 10
		if(s[i]=='1') cout << "eleven";		// 11
		if(s[i]=='2') cout << "twelve";		// 12
		if(s[i]=='3') cout << "thirteen";
		if(s[i]=='4') cout << "fourteen";
		if(s[i]=='5') cout << "fifteen";
		if(s[i]=='6') cout << "sixteen";
		if(s[i]=='7') cout << "seventeen";
		if(s[i]=='8') cout << "eighteen";
		if(s[i]=='9') cout << "nineteen";
		cout << endl;
		return 0;
	}

	if(n == 2){
		int i = 0;
		if(s[i]=='2') cout << "twenty";
		if(s[i]=='3') cout << "thirty";
		if(s[i]=='4') cout << "forty";
		if(s[i]=='5') cout << "fifty";
		if(s[i]=='6') cout << "sixty";
		if(s[i]=='7') cout << "seventy";
		if(s[i]=='8') cout << "eighty";
		if(s[i]=='9') cout << "ninety";

		if(s[1]=='0'){
			cout << endl;
			return 0;
		}else{
			cout << '-';
		}
	}

	if(n >= 1){
		int i = n-1;
		if(s[i]=='1') cout << "one";
		if(s[i]=='2') cout << "two";
		if(s[i]=='3') cout << "three";
		if(s[i]=='4') cout << "four";
		if(s[i]=='5') cout << "five";
		if(s[i]=='6') cout << "six";
		if(s[i]=='7') cout << "seven";
		if(s[i]=='8') cout << "eight";
		if(s[i]=='9') cout << "nine";
	}
	cout << endl;
	return 0;
}

#include <bits/stdc++.h>
using namespace std;

int main()
{
    string a[9]= {"one","two","three","four","five","six","seven","eight","nine"};
    string b[9]= {"ten","twenty","thirty","forty","fifty","sixty","seventy","eighty","ninety"};
    string c[9]= {"eleven","twelve","thirteen","fourteen","fifteen","sixteen","seventeen","eighteen","nineteen"};
    int n;
    cin>>n;
    if(n==0)
    {
        cout<<"zero"<<endl;
    }
    else if(n>=1&&n<=9)
    {
        cout<<a[n-1]<<endl;
    }
    else if(n>=11&&n<=19)
    {
        cout<<c[n-11]<<endl;
    }
    else if(n%10==0)
    {
        cout<<b[(n/10)-1]<<endl;
    }
    else if(n%10!=0)
    {
        cout<<b[((n-(n%10))/10)-1]<<"-"<<a[(n%10)-1]<<endl;
    }
    return 0;
}

# include <bits/stdc++.h>

using namespace std;

int main(){
    int numero;
    cin>>numero;
    vector <string> numbers;
    numbers.push_back("zero");
    numbers.push_back("one");
    numbers.push_back("two");
    numbers.push_back("three");
    numbers.push_back("four");
    numbers.push_back("five");
    numbers.push_back("six");
    numbers.push_back("seven");
    numbers.push_back("eight");
    numbers.push_back("nine");
    numbers.push_back("ten");
    numbers.push_back("eleven");
    numbers.push_back("twelve");
    numbers.push_back("thirteen");
    numbers.push_back("fourteen");
    numbers.push_back("fifteen");
    numbers.push_back("sixteen");
    numbers.push_back("seventeen");
    numbers.push_back("eighteen");
    numbers.push_back("nineteen");
    numbers.push_back("twenty");
    numbers.push_back("twenty-one");
    numbers.push_back("twenty-two");
    numbers.push_back("twenty-three");
    numbers.push_back("twenty-four");
    numbers.push_back("twenty-five");
    numbers.push_back("twenty-six");
    numbers.push_back("twenty-seven");
    numbers.push_back("twenty-eight");
    numbers.push_back("twenty-nine");
    numbers.push_back("thirty");
    numbers.push_back("thirty-one");
    numbers.push_back("thirty-two");
    numbers.push_back("thirty-three");
    numbers.push_back("thirty-four");
    numbers.push_back("thirty-five");
    numbers.push_back("thirty-six");
    numbers.push_back("thirty-seven");
    numbers.push_back("thirty-eight");
    numbers.push_back("thirty-nine");
    numbers.push_back("forty");
    numbers.push_back("forty-one");
    numbers.push_back("forty-two");
    numbers.push_back("forty-three");
    numbers.push_back("forty-four");
    numbers.push_back("forty-five");
    numbers.push_back("forty-six");
    numbers.push_back("forty-seven");
    numbers.push_back("forty-eight");
    numbers.push_back("forty-nine");
    numbers.push_back("fifty");
    numbers.push_back("fifty-one");
    numbers.push_back("fifty-two");
    numbers.push_back("fifty-three");
    numbers.push_back("fifty-four");
    numbers.push_back("fifty-five");
    numbers.push_back("fifty-six");
    numbers.push_back("fifty-seven");
    numbers.push_back("fifty-eight");
    numbers.push_back("fifty-nine");
    numbers.push_back("sixty");
    numbers.push_back("sixty-one");
    numbers.push_back("sixty-two");
    numbers.push_back("sixty-three");
    numbers.push_back("sixty-four");
    numbers.push_back("sixty-five");
    numbers.push_back("sixty-six");
    numbers.push_back("sixty-seven");
    numbers.push_back("sixty-eight");
    numbers.push_back("sixty-nine");
    numbers.push_back("seventy");
    numbers.push_back("seventy-one");
    numbers.push_back("seventy-two");
    numbers.push_back("seventy-three");
    numbers.push_back("seventy-four");
    numbers.push_back("seventy-five");
    numbers.push_back("seventy-six");
    numbers.push_back("seventy-seven");
    numbers.push_back("seventy-eight");
    numbers.push_back("seventy-nine");
    numbers.push_back("eighty");
    numbers.push_back("eighty-one");
    numbers.push_back("eighty-two");
    numbers.push_back("eighty-three");
    numbers.push_back("eighty-four");
    numbers.push_back("eighty-five");
    numbers.push_back("eighty-six");
    numbers.push_back("eighty-seven");
    numbers.push_back("eighty-eight");
    numbers.push_back("eighty-nine");
    numbers.push_back("ninety");
    numbers.push_back("ninety-one");
    numbers.push_back("ninety-two");
    numbers.push_back("ninety-three");
    numbers.push_back("ninety-four");
    numbers.push_back("ninety-five");
    numbers.push_back("ninety-six");
    numbers.push_back("ninety-seven");
    numbers.push_back("ninety-eight");
    numbers.push_back("ninety-nine");

    cout<<numbers[numero]<<endl;
    return 0;
}

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

return 0;
}

#include <bits/stdc++.h>
using namespace std;
int main() {
    char *unit[10]= {"zero", "one", "two", "three", "four", "five", "six", "seven", "eight", "nine"};
    char *one[10]={"ten", "eleven", "twelve", "thirteen", "fourteen", "fifteen", "sixteen", "seventeen", "eighteen", "nineteen"};
    char *part1[10]= {" "," ", "twenty", "thirty", "forty", "fifty", "sixty", "seventy", "eighty", "ninety"};

    int n;
    cin>>n;

    int a, b;
    b= n%10;
    a= n/10;

    if(a==0)cout<<unit[b];
    else{
        if(a==1) cout<<one[b];
        else {
            if(b!=0) cout<<part1[a]<<"-"<<unit[b];
            else cout<<part1[a];
        }
    }

    return 0;
}

#include<bits/stdc++.h>
using namespace std;
int main(){
	ios_base::sync_with_stdio(false);
	string f[10] = {"no" , "ten" , "twenty" , "thirty", "forty" , "fifty" , "sixty" , "seventy" , "eighty" , "ninety"};
	string s[10] = {"zero" ,"one" , "two" , "three" , "four" , "five" , "six" , "seven" , "eight" , "nine"} ;
	string t[9] = { "eleven" , "twelve" , "thirteen" , "fourteen" , "fifteen" , "sixteen" , "seventeen" , "eighteen" , "nineteen" } ;
	string aa;
	cin >> aa ;
	if(aa.size()==1){
        cout << s[aa[0]-'0'] ;
        return 0;
	}
	if(aa[0]=='1'&&aa[1]!='0'){
        cout << t[aa[1]-'1'];
        return 0;

	}
    if(aa[1]=='0'){
        cout << f[aa[0]-'0'];
        return 0;
    }
    cout << f[aa[0]-'0'] << "-" << s[aa[1]-'0'] ;
	return 0 ;
}

#include <bits/stdc++.h>
#define LL long long
#define mod 10000007
using namespace std;

vector <LL> v;
int main()
{
    map <LL, string> mp;
    mp[1] = "one";
    mp[0] = "zero";
    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";
    for(int i = 21; i<= 99; i++)
    {
        if(i / 10 == 2)mp[i] = mp[20];
        if(i / 10 == 3) mp[i] = "thirty";
        if(i / 10 == 4) mp[i] = "forty";
        if(i/10==5)mp[i] = "fifty";
        if(i/10==6)mp[i] = "sixty";
        if(i/10==7)mp[i] = "seventy";
        if(i / 10 == 8) mp[i] = "eighty";
        if(i/10==9)mp[i]="ninety";
        if(i%10!=0)mp[i]+='-'+mp[i%10];
    }
    LL n;
    cin >> n;
    //
    cout << mp[n];
}

#include<iostream>
#include<cstdio>
#include<string>
#include<cmath>
using namespace std;

int main()
{
    int a;
    scanf("%d",&a);
    char b[10][10]={{"0"},{"1"},{"twenty"},{"thirty"},{"forty"},{"fifty"},{"sixty"},{"seventy"},{"eighty"},{"ninety"}};
    char c[10][10]={{"zero"},{"one"},{"two"},{"three"},{"four"},{"five"},{"six"},{"seven"},{"eight"},{"nine"}};
    char d[10][10]={{"ten"},{"eleven"},{"twelve"},{"thirteen"},{"fourteen"},{"fifteen"},{"sixteen"},{"seventeen"},{"eighteen"},{"nineteen"}};
    if(a/10==0)
        cout<<c[a%10]<<endl;
    else if(a/10==1)
        cout<<d[a%10]<<endl;
    else if(a/10>1&&a%10==0)
        cout<<b[a/10]<<endl;
    else
        cout<<b[a/10]<<"-"<<c[a%10]<<endl;
    return 0;

}

#include <iostream>
using namespace std;
void print(int x)
{
    if(x==1)
        cout<<"one";
    if(x==2)
        cout<<"two";
    if(x==3)
        cout<<"three";
    if(x==4)
        cout<<"four";
    if(x==5)
        cout<<"five";
    if(x==6)
        cout<<"six";
    if(x==7)
        cout<<"seven";
    if(x==8)
        cout<<"eight";
    if(x==9)
        cout<<"nine";

}
int main()
{
    float z;
    int n;
   ali: cin>>z;

    if(z>=100)
    {
        cout<<"please enter standard input";
        goto ali;
    }
    if(z-int(z)>0 &&  z-int(z)<1)
    {
        cout<<"please enter standard input";
        goto ali;
    }
    n=z;
    if(n==0)
    {
        cout<<"zero";
        return 0;
    }
    if(n<10)
    {
        print(n);
        return 0;
    }
    else
    {
    if(n>=90)
    {
        cout<<"ninety";
        if(n%10)
        {
            cout<<"-";
            print(n%10);

        }
        return 0;
    }
    if(n>=80)
    {
        cout<<"eighty";
        if(n%10)
        {
            cout<<"-";
            print(n%10);

        }
        return 0;
    }
    if(n>=70)
    {
        cout<<"seventy";
        if(n%10)
        {
            cout<<"-";
            print(n%10);

        }
        return 0;
    }
    if(n>=60)
    {
        cout<<"sixty";
        if(n%10)
        {
            cout<<"-";
            print(n%10);

        }
        return 0;
    }
    if(n>=50)
    {
        cout<<"fifty";
        if(n%10)
        {
            cout<<"-";
            print(n%10);

        }
        return 0;
    }
    if(n>=40)
    {
        cout<<"forty";
        if(n%10)
        {
            cout<<"-";
            print(n%10);

        }
        return 0;
    }
    if(n>=30)
    {
        cout<<"thirty";
        if(n%10)
        {
            cout<<"-";
            print(n%10);

        }
        return 0;
    }
    if(n>=20)
    {
        cout<<"twenty";
        if(n%10!=0)
        {
            cout<<"-";
            print(n%10);

        }
        return 0;
    }
    if(n>=10)
    {
        if(n==10)
            cout<<"ten";
        if(n==11)
            cout<<"eleven";
        if(n==12)
            cout<<"twelve";
        if(n==13)
            cout<<"thirteen";
        if(n==14)
            cout<<"fourteen";
        if(n==15)
            cout<<"fifteen";
        if(n==16)
            cout<<"sixteen";
        if(n==17)
            cout<<"seventeen";
        if(n==18)
            cout<<"eighteen";
        if(n==19)
            cout<<"nineteen";
        return 0;

    }
    return 0;
    }

}

#include<bits/stdc++.h>
#define endl '\n'
#pragma GCC optimize(3)

using namespace std;
int n;
string a[15] = {"zero" , "one" , "two" , "three" , "four" , "five" , "six" , "seven" , "eight" , "nine"};
string b[15] = {"ten" , "eleven" , "twelve" , "thirteen" , "fourteen" , "fifteen" , "sixteen" , "seventeen" , "eighteen" , "nineteen"};
string c[15] = {"twenty" , "thirty" , "forty" , "fifty" , "sixty" , "seventy" , "eighty" , "ninety"};
signed main()
{
	ios::sync_with_stdio(false);
	cin >> n;
	if (n < 10) cout << a[n];
	else
	{
		if (n < 20) cout << b[n-10];
		else
		{
			cout << c[n/10-2];
			if (n%10 != 0) cout << '-' << a[n%10];
		}
	}
}

#include<cstdio>
#include<iostream>
using namespace std;
void yekaan(int n)
{
    if(n==1)
        cout<<"one";
    else if(n==2)
        cout<<"two";
    else if(n==3)
        cout<<"three";
    else if(n==4)
        cout<<"four";
    else if(n==5)
        cout<<"five";
    else if(n==6)
        cout<<"six";
    else if(n==7)
        cout<<"seven";
    else if(n==8)
        cout<<"eight";
    else if(n==9)
        cout<<"nine";
}
void dahgaan(int n)
{
    if(n==1)
        cout<<"ten";
    else if(n==2)
        cout<<"twenty";
    else if(n==3)
        cout<<"thirty";
    else if(n==4)
        cout<<"forty";
    else if(n==5)
        cout<<"fifty";
    else if(n==6)
        cout<<"sixty";
    else if(n==7)
        cout<<"seventy";
    else if(n==8)
        cout<<"eighty";
    else if(n==9)
        cout<<"ninety";
}
int main()
{
    string s;
    cin>>s;
    if(s.size()==1&&s[0]!='0')
    {
        yekaan(s[0]-48);
    }
    else if(s.size()==1&&s[0]=='0')
    {
        cout<<"zero"<<endl;
    }
    else if(s.size()==2&&s[1]!='0'&&s[0]!='1')
    {
        dahgaan(s[0]-48);
        cout<<"-";
        yekaan(s[1]-48);
    }
    else if(s.size()==2&&s[1]=='0')
    {
        dahgaan(s[0]-48);
    }
    else
    {
        if(s[1]=='1')
            cout<<"eleven";
        else if(s[1]=='2')
            cout<<"twelve";
        else if(s[1]=='3')
            cout<<"thirteen";
        else if(s[1]=='4')
            cout<<"fourteen";
        else if(s[1]=='5')
            cout<<"fifteen";
        else if(s[1]=='6')
            cout<<"sixteen";
        else if(s[1]=='7')
            cout<<"seventeen";
        else if(s[1]=='8')
            cout<<"eighteen";
        else if(s[1]=='9')
            cout<<"nineteen";
    }
}

#include <iostream>

using namespace std;

int main()
{
string s[10]={"eleven","twelve","thirteen","fourteen","fifteen","sixteen","seventeen","eighteen","nineteen"};
int x,y=-1;
cin>>x;
if(x<20&&x>10)
{
for(int i=11;i<20;i++)
    {
    y++;
    if(x==i)
        cout<<s[y];
    }
}
if(x>19)
{
switch(x/10)
{
case 2:cout<<"twenty";break;case 3:cout<<"thirty";break;case 4:cout<<"forty";break;
case 5:cout<<"fifty";break;case 6:cout<<"sixty";break;case 7:cout<<"seventy";break;
case 8:cout<<"eighty";break;case 9:cout<<"ninety";break;
}
if(x%10==0)
    x=x;
else
    {x%=10;cout<<"-";}
}
if(x==10)
    cout<<"ten";
if(x<10)
{
switch(x)
{
case 0:cout<<"zero";break;
case 1:cout<<"one";break;case 2:cout<<"two";break;
case 3:cout<<"three";break;case 4:cout<<"four";break;
case 5:cout<<"five";break;case 6:cout<<"six";break;
case 7:cout<<"seven";break;case 8:cout<<"eight";break;
case 9:cout<<"nine";break;
}
}
    return 0;
}

#include<iostream>
using namespace std;
int main()
{
	char *unit[]={"zero", "one", "two", "three", "four", "five", "six", "seven", "eight", "nine","ten", "eleven", "twelve", "thirteen", "fourteen", "fifteen", "sixteen", "seventeen", "eighteen", "nineteen"};
	char *tens[] = {"", "ten", "twenty", "thirty", "forty", "fifty", "sixty", "seventy", "eighty", "ninety"};
	int n,l=0;
	cin>>n;
	if(n<=19)
		cout<<unit[n];
	else
	{
		cout<<tens[n/10];
		if(n%10!=0)
			cout<<"-"<<unit[n%10];
	}
	return 0;
}

#include <iostream>
#include <cstdio>
#include <string>
#include <sstream>
#include <fstream>
#include <cstdlib>
#include <climits>
#include <cmath>
#include <algorithm>
#include <vector>
#include <iterator>
#include <stack>
#include <map>
#include <queue>
#include <set>
#include <iomanip>
#define For(i,a,t) for(int i=a;i<t;i++)
#define For1(i,a,t) for(int i=a;i>=t;i--)
#define files(in,out) freopen(in,"r",stdin); freopen(out,"w",stdout);
#define files freopen("in","r",stdin); freopen("out","w",stdout);
#define inf LLONG_MAX
#define pi 3.1415926535897932
typedef long long ll;
typedef long double ld;
using namespace std;

int main() {
	//files;
	int n;
	scanf("%d",&n);
	map<int,string> a;
	a[1]="one";a[2]="two";a[3]="three";a[4]="four";a[5]="five";a[6]="six";a[7]="seven";a[8]="eight";a[9]="nine";
	a[0]="zero";a[10]="ten";a[11]="eleven";a[12]="twelve";a[13]="thirteen";
	a[14]="fourteen";a[15]="fifteen";a[16]="sixteen";a[17]="seventeen";a[18]="eighteen";a[19]="nineteen";
	a[20]="twenty";a[30]="thirty";a[40]="forty";
	a[50]="fifty";a[60]="sixty";a[70]="seventy";a[80]="eighty";a[90]="ninety";
	if(n<=20)
		cout<<a[n];
	else{
		if(n%10)
			cout<<a[n/10*10]<<"-"<<a[n%10];
		else cout<<a[n];
	}
	return 0;
}

#include<bits/stdc++.h>
using namespace std;
char *fa(int x)
{
	if(x==1)
		return "one";
	if(x==2)
		return "two";
	if(x==3)
		return "three";
	if(x==4)
		return "four";
	if(x==5)
		return "five";
	if(x==6)
		return "six";
	if(x==7)
		return "seven";
	if(x==8)
		return "eight";
	if(x==9)
		return "nine";
}
char *fb(int x)
{
	if(x==0)
		return "ten";
	if(x==1)
		return "eleven";
	if(x==2)
		return "twelve";
	if(x==3)
		return "thirteen";
	if(x==4)
		return "fourteen";
	if(x==5)
		return "fifteen";
	if(x==6)
		return "sixteen";
	if(x==7)
		return "seventeen";
	if(x==8)
		return "eighteen";
	if(x==9)
		return "nineteen";
}
char *fc(int x)
{
	if(x==2)
		return "twenty";
	if(x==3)
		return "thirty";
	if(x==4)
		return "forty";
	if(x==5)
		return "fifty";
	if(x==6)
		return "sixty";
	if(x==7)
		return "seventy";
	if(x==8)
		return "eighty";
	if(x==9)
		return "ninety";
}
int main()
{
	int a;
	while(cin>>a)
	{
	if(a==0)
		cout<<"zero";
	else if(a<10)
		cout<<fa(a);
	else if(a<20)
		cout<<fb(a-10);
	else if(a%10==0)
		cout<<fc(a/10);
	else
		cout<<fc(a/10)<<'-'<<fa(a%10);
	}
	return 0;
}
//重题啊啊啊

//ssenseeeeeeeeeeeeeeeeeeeeeeeeeeeee
#include<bits/stdc++.h>
#define startt ios_base::sync_with_stdio(false);cin.tie(0);cout.tie(0);
typedef unsigned long long ull;
typedef long long  ll;
#define MOD 1000000007
#define MX 1000000000
#define PI 3.14159265
#define pb push_back
using namespace std;
#define sc second
#define endl '\n'
#define fr first

int main() {
    startt
    int s;
    cin >> s;
    string n = to_string(s);
    if(s == 0)
    {
        cout << "zero";
        return 0;
    }
    if(s == 10)
    {
        cout << "ten";
        return 0;
    }
    if(s == 11)
    {
        cout << "eleven";
        return 0;
    }
    if(s == 12)
    {
        cout << "twelve";
        return 0;
    }
    if(s == 13)
    {
        cout << "thirteen";
        return 0;
    }
    if(s == 14)
    {
        cout << "fourteen";
        return 0;
    }
    if(s == 15)
    {
        cout << "fifteen";
        return 0;
    }
    if(s == 16)
    {
        cout << "sixteen";
        return 0;
    }
    if(s == 17)
    {
        cout << "seventeen";
        return 0;
    }
    if(s == 18)
    {
        cout << "eighteen";
        return 0;
    }
    if(s == 19)
    {
        cout << "nineteen";
        return 0;
    }
    if(n.size() > 1)
    {
        if(n[0] == '2')
        {
            if(n[1] == '0')
            {
                cout << "twenty";
                return 0;
            }

            cout << "twenty-";
        }
        if(n[0] == '3')
        {
            if(n[1] == '0')
            {
                cout << "thirty";
                return 0;
            }
            cout << "thirty-";
        }
        if(n[0] == '4')
        {
            if(n[1] == '0')
            {
                cout << "forty";
                return 0;
            }
            cout << "forty-";
        }
        if(n[0] == '5')
        {
            if(n[1] == '0')
            {
                cout << "fifty";
                return 0;
            }
            cout << "fifty-";
        }
        if(n[0] == '6')
        {
            if(n[1] == '0')
            {
                cout << "sixty";
                return 0;
            }
            cout << "sixty-";
        }
        if(n[0] == '7')
        {
            if(n[1] == '0')
            {
                cout << "seventy";
                return 0;
            }
            cout << "seventy-";
        }
        if(n[0] == '8')
        {
            if(n[1] == '0')
            {
                cout << "eighty";
                return 0;
            }
            cout << "eighty-";
        }
        if(n[0] == '9')
        {
            if(n[1] == '0')
            {
                cout << "ninety";
                return 0;
            }
            cout << "ninety-";
        }
    }
    if(n[1] == '1' || s == 1)
    {
        cout << "one";
        return 0;
    }
    if(n[1] == '2' || s == 2)
    {
        cout << "two";
        return 0;
    }
    if(n[1] == '3' || s == 3)
    {
        cout << "three";
        return 0;
    }
    if(n[1] == '4' || s == 4)
    {
        cout << "four";
        return 0;
    }
    if(n[1] == '5' || s == 5)
    {
        cout << "five";
        return 0;
    }
    if(n[1] == '6'  || s == 6)
    {
        cout << "six";
        return 0;
    }
    if(n[1] == '7'  || s == 7)
    {
        cout << "seven";
        return 0;
    }
    if(n[1] == '8'  || s == 8)
    {
        cout << "eight";
        return 0;
    }
    if(n[1] == '9'  || s == 9)
    {
        cout << "nine";
        return 0;
    }
}

#include <iostream>

using namespace std;

int main(){

  int s=0;
  cin >> s;
  //
  if(s==0)  cout << "zero" << endl;
  if(s==1)  cout << "one" << endl;
  if(s==2)  cout << "two" << endl;
  if(s==3)  cout << "three" << endl;
  if(s==4)  cout << "four" << endl;
  if(s==5)  cout << "five" << endl;
  if(s==6)  cout << "six" << endl;
  if(s==7)  cout << "seven" << endl;
  if(s==8)  cout << "eight" << endl;
  if(s==9)  cout << "nine" << endl;
  if(s==10)  cout << "ten" << endl;
  if(s==11)  cout << "eleven" << endl;
  if(s==12)  cout << "twelve" << endl;
  if(s==13)  cout << "thirteen" << endl;
  if(s==14)  cout << "fourteen" << endl;
  if(s==15)  cout << "fifteen" << endl;
  if(s==16)  cout << "sixteen" << endl;
  if(s==17)  cout << "seventeen" << endl;
  if(s==18)  cout << "eighteen" << endl;
  if(s==19)  cout << "nineteen" << endl;
  if(s==20)  cout << "twenty" << endl;
  if(s==21)  cout << "twenty-one" << endl;
  if(s==22)  cout << "twenty-two" << endl;
  if(s==23)  cout << "twenty-three" << endl;
  if(s==24)  cout << "twenty-four" << endl;//
  if(s==25)  cout << "twenty-five" << endl;
  if(s==26)  cout << "twenty-six" << endl;
  if(s==27)  cout << "twenty-seven" << endl;
  if(s==28)  cout << "twenty-eight" << endl;
  if(s==29)  cout << "twenty-nine" << endl;
  if(s==30)  cout << "thirty" << endl;
  if(s==31)  cout << "thirty-one" << endl;
  if(s==32)  cout << "thirty-two" << endl;
  if(s==33)  cout << "thirty-three" << endl;
  if(s==34)  cout << "thirty-four" << endl;
  if(s==35)  cout << "thirty-five" << endl;
  if(s==36)  cout << "thirty-six" << endl;
  if(s==37)  cout << "thirty-seven" << endl;
  if(s==38)  cout << "thirty-eight" << endl;
  if(s==39)  cout << "thirty-nine" << endl;
  if(s==40)  cout << "forty" << endl;
  if(s==41)  cout << "forty-one" << endl;
  if(s==42)  cout << "forty-two" << endl;
  if(s==43)  cout << "forty-three" << endl;
  if(s==44)  cout << "forty-four" << endl;
  if(s==45)  cout << "forty-five" << endl;
  if(s==46)  cout << "forty-six" << endl;
  if(s==47)  cout << "forty-seven" << endl;
  if(s==48)  cout << "forty-eight" << endl;
  if(s==49)  cout << "forty-nine" << endl;
  if(s==50)  cout << "fifty" << endl;
  if(s==51)  cout << "fifty-one" << endl;
  if(s==52)  cout << "fifty-two" << endl;
  if(s==53)  cout << "fifty-three" << endl;
  if(s==54)  cout << "fifty-four" << endl;
  if(s==55)  cout << "fifty-five" << endl;
  if(s==56)  cout << "fifty-six" << endl;
  if(s==57)  cout << "fifty-seven" << endl;
  if(s==58)  cout << "fifty-eight" << endl;
  if(s==59)  cout << "fifty-nine" << endl;
  if(s==60)  cout << "sixty" << endl;
  if(s==61)  cout << "sixty-one" << endl;
  if(s==62)  cout << "sixty-two" << endl;
  if(s==63)  cout << "sixty-three" << endl;
  if(s==64)  cout << "sixty-four" << endl;
  if(s==65)  cout << "sixty-five" << endl;
  if(s==66)  cout << "sixty-six" << endl;
  if(s==67)  cout << "sixty-seven" << endl;
  if(s==68)  cout << "sixty-eight" << endl;
  if(s==69)  cout << "sixty-nine" << endl;
  if(s==70)  cout << "seventy" << endl;
  if(s==71)  cout << "seventy-one" << endl;
  if(s==72)  cout << "seventy-two" << endl;
  if(s==73)  cout << "seventy-three" << endl;
  if(s==74)  cout << "seventy-four" << endl;
  if(s==75)  cout << "seventy-five" << endl;
  if(s==76)  cout << "seventy-six" << endl;
  if(s==77)  cout << "seventy-seven" << endl;
  if(s==78)  cout << "seventy-eight" << endl;
  if(s==79)  cout << "seventy-nine" << endl;
  if(s==80)  cout << "eighty" << endl;
  if(s==81)  cout << "eighty-one" << endl;
  if(s==82)  cout << "eighty-two" << endl;
  if(s==83)  cout << "eighty-three" << endl;
  if(s==84)  cout << "eighty-four" << endl;
  if(s==85)  cout << "eighty-five" << endl;
  if(s==86)  cout << "eighty-six" << endl;
  if(s==87)  cout << "eighty-seven" << endl;
  if(s==88)  cout << "eighty-eight" << endl;
  if(s==89)  cout << "eighty-nine" << endl;
  if(s==90)  cout << "ninety" << endl;
  if(s==91)  cout << "ninety-one" << endl;
  if(s==92)  cout << "ninety-two" << endl;
  if(s==93)  cout << "ninety-three" << endl;
  if(s==94)  cout << "ninety-four" << endl;
  if(s==95)  cout << "ninety-five" << endl;
  if(s==96)  cout << "ninety-six" << endl;
  if(s==97)  cout << "ninety-seven" << endl;
  if(s==98)  cout << "ninety-eight" << endl;
  if(s==99)  cout << "ninety-nine" << endl;

  return 0;
}

#include <iostream>
#include <bits/stdc++.h>
using namespace std;

    int main(void)
    {
        string s1[] = {"zero","one","two","three","four","five","six","seven","eight","nine"};
        string s2[] = {"", "ten","twenty","thirty","forty","fifty","sixty","seventy","eighty","ninety"};
        string s3[] = {"ten", "eleven","twelve","thirteen","fourteen","fifteen","sixteen","seventeen","eighteen","nineteen"};
        string s; cin >> s;
        if(s.size() == 1)
            cout << s1[s[0] - '0'];
        else if(s[0] == '1' )
            cout << s3[s[1] - '0'];
        else if(s[1] == '0')
            cout << s2[s[0] - '0'];
        else
        {
            cout << s2[s[0] - '0'] << "-" << s1[s[1] - '0'];
        }

        return 0;
    }

#include<iostream>
#include<string>
#include<cmath>
#include<algorithm>
#include<iomanip>
#include<vector>
using namespace std;
int main()
{
	int n;
	string s[10]={"zero","one","two","three","four","five","six","seven","eight","nine"},
		   x[10]={"ten","eleven","twelve","thirteen","fourteen","fifteen","sixteen","seventeen","eighteen","nineteen"},
		   y[10]={"ten","twenty","thirty","forty","fifty","sixty","seventy","eighty","ninety"};
	cin>>n;
	if(n<10)
		cout<<s[n%10]<<endl;
	else if(n<20)
		cout<<x[n%10]<<endl;
	else
	{
         if(n%10==0)
			 cout<<y[n/10 -1]<<endl;
		 else
			 cout<<y[n/10 -1]<<"-"<<s[n%10]<<endl;
	}

  //system ("pause");
  return 0;
}

#include<bits/stdc++.h>
using namespace std;
int n, m, l, k, cnt, ans;
string s, t, r;
vector<int>v;

int main ()
{
    int n,a=0,b=0;
    cin >> n;
     string y[10]={"zero","one","two","three","four","five","six","seven","eight","nine"};
     string x[10]={"ql","ten","twenty","thirty","forty","fifty","sixty","seventy","eighty","ninety"};
     string z[10] = {"ten", "eleven", "twelve", "thirteen", "fourteen", "fifteen", "sixteen", "seventeen", "eighteen", "nineteen"};
  if( n<10 )
      cout<<y[n];
  else if( n<20 )
      cout<<z[n%10];
      else{
        cout<<x[n/10];
        if( n%10!=0 )
     cout<<"-"<<y[n%10];
      }
}

#include <iostream>
using namespace std;

int main() {
	// your code goes here
	string ones[]={"zero","one","two","three","four","five","six","seven","eight","nine","ten",
	"eleven","twelve","thirteen","fourteen","fifteen","sixteen","seventeen","eighteen","nineteen"};
	string tens[]={"","","twenty","thirty","forty","fifty","sixty","seventy","eighty","ninety"};
	int n;
	cin>>n;
	if(n<20){
		cout<<ones[n];
	}else if(n/10>1&&n%10!=0){
		cout<<tens[n/10]<<"-"<<ones[n%10];
	}else {cout<<tens[n/10];}
	return 0;
}

#include <iostream>
#include <string>
#include <vector>

class CNW
{
protected:
    std::vector<std::string> m_units;
    std::vector<std::string> m_tens1;
    std::vector<std::string> m_tens2;
    std::string smaller_cases(unsigned short n);
public:
    CNW();
    std::string number_to_words(unsigned short n);
};

CNW::CNW()
{
    m_units.push_back("zero");
    m_units.push_back("one");
    m_units.push_back("two");
    m_units.push_back("three");
    m_units.push_back("four");
    m_units.push_back("five");
    m_units.push_back("six");
    m_units.push_back("seven");
    m_units.push_back("eight");
    m_units.push_back("nine");

    m_tens1.push_back("ten");
    m_tens1.push_back("eleven");
    m_tens1.push_back("twelve");
    m_tens1.push_back("thirteen");
    m_tens1.push_back("fourteen");
    m_tens1.push_back("fifteen");
    m_tens1.push_back("sixteen");
    m_tens1.push_back("seventeen");
    m_tens1.push_back("eighteen");
    m_tens1.push_back("nineteen");

    m_tens2.push_back("twenty");
    m_tens2.push_back("thirty");
    m_tens2.push_back("forty");
    m_tens2.push_back("fifty");
    m_tens2.push_back("sixty");
    m_tens2.push_back("seventy");
    m_tens2.push_back("eighty");
    m_tens2.push_back("ninety");
}

// only usable for smaller cases
std::string CNW::smaller_cases(unsigned short n)
{
    if (n >= 0 && n < 10)
        return m_units[n];
    else// if (n >= 10 && n < 20)
        return m_tens1[n - 10];
}
std::string CNW::number_to_words(unsigned short n)
{
    if (n >= 0 && n < 20)
        return smaller_cases(n);
    else
    {
        unsigned short second = n / 10;
        unsigned short first = n - second * 10;
        if (first != 0)
            return m_tens2[second - 2] + "-" + smaller_cases(first);
        else
            return m_tens2[second - 2];
    }
}

int main()
{
    CNW cnw;
    unsigned short n;
    std::cin >> n;
    if (n >= 0 && n < 100)
        std::cout << cnw.number_to_words(n);
    return 0;
}

#include <iostream>
#include <string>
#include <cmath>
#include <algorithm>
#include <vector>
#include <map>
#include <queue>

using namespace std;

bool cmp ( int a , int b )
{
    return (a>b);
}

int a[100006];

vector <int>v;

bool check( int x )
{
    while ( x>0 )
    {
        if ( x%10==4 || x%10==7 ) { x/=10; }
        else { return 0; }
    }
    return 1;
}

void count( int n )
{
    if ( n==1 ) { cout<<"one"; }
	if ( n==2 ) { cout<<"two"; }
    if ( n==3 ) { cout<<"three"; }
    if ( n==4 ) { cout<<"four"; }
    if ( n==5 ) { cout<<"five"; }
    if ( n==6 ) { cout<<"six"; }
    if ( n==7 ) { cout<<"seven"; }
    if ( n==8 ) { cout<<"eight"; }
    if ( n==9 ) { cout<<"nine"; }
}

int main()
{

	/*
	freopen("free.in", "r", stdin);

	freopen("free.out", "w", stdout);
	*/
	//memset(dp, -1, sizeof (dp));
	//memset(is, 0, sizeof (is));

	int n,c=1;
	cin>>n;
    if ( n==0 ) { cout<<"zero"; }
	if ( n==1 ) { cout<<"one"; }
	if ( n==2 ) { cout<<"two"; }
    if ( n==3 ) { cout<<"three"; }
    if ( n==4 ) { cout<<"four"; }
    if ( n==5 ) { cout<<"five"; }
    if ( n==6 ) { cout<<"six"; }
    if ( n==7 ) { cout<<"seven"; }
    if ( n==8 ) { cout<<"eight"; }
    if ( n==9 ) { cout<<"nine"; }
    if ( n==10 ) { cout<<"ten"; }
    if ( n==11 ) { cout<<"eleven"; }
    if ( n==12 ) { cout<<"twelve"; }
    if ( n==13 ) { cout<<"thirteen"; }
    if ( n==14 ) { cout<<"fourteen"; }
    if ( n==15 ) { cout<<"fifteen"; }
    if ( n==16 ) { cout<<"sixteen"; }
    if ( n==17 ) { cout<<"seventeen"; }
    if ( n==18 ) { cout<<"eighteen"; }
    if ( n==19 ) { cout<<"nineteen"; }
    if ( n==20 ) { cout<<"twenty"; }
    if ( n>20 && n<30 ) { cout<<"twenty-";count( n%10 ); }
    if ( n==30 ) { cout<<"thirty"; }
    if ( n>30 && n<40 ) { cout<<"thirty-";count( n%10 ); }
    if ( n==40 ) { cout<<"forty"; }
    if ( n>40 && n<50 ) { cout<<"forty-";count( n%10 ); }
    if ( n==50 ) { cout<<"fifty"; }
    if ( n>50 && n<60 ) { cout<<"fifty-";count( n%10 ); }
    if ( n==60 ) { cout<<"sixty"; }
    if ( n>60 && n<70 ) { cout<<"sixty-";count( n%10 ); }
    if ( n==70 ) { cout<<"seventy"; }
    if ( n>70 && n<80 ) { cout<<"seventy-";count( n%10 ); }
    if ( n==80 ) { cout<<"eighty"; }
    if ( n>80 && n<90 ) { cout<<"eighty-";count( n%10 ); }
    if ( n==90 ) { cout<<"ninety"; }
    if ( n>90 && n<100 ) { cout<<"ninety-";count( n%10 ); }

	return 0;

}

#include <bits/stdc++.h>
using namespace std;
#define int long long
#define rep(i,a,n)  for(int i=a;i<n;i++)
#define input(n) 	int n ; cin>>n;
#define vect(a,n)   vector<int> a(n);
void tens(int n) {
	switch (n) {
	case 2 : cout << "twenty";
		break;
	case 3 : cout << "thirty";
		break;
	case 4 : cout << "forty";
		break;
	case 5 : cout << "fifty";
		break;
	case 6 : cout << "sixty";
		break;
	case 7 : cout << "seventy";
		break;
	case 8 : cout << "eighty";
		break;
	case 9 : cout << "ninety";
		break;

	}
}
void tens_1(int n) {
	switch (n) {
	case 1 : cout << "eleven";
		break;
	case 2 : cout << "twelve";
		break;
	case 3 : cout << "thirteen";
		break;
	case 4 : cout << "fourteen";
		break;
	case 5 : cout << "fifteen";
		break;
	case 6 : cout << "sixteen";
		break;
	case 7 : cout << "seventeen";
		break;
	case 8 : cout << "eighteen";
		break;
	case 9 : cout << "nineteen";
		break;

	}
}
void ones(int n) {

	switch (n) {

	case 1 : cout << "one";
		break;
	case 2 : cout << "two";
		break;
	case 3 : cout << "three";
		break;
	case 4 : cout << "four";
		break;
	case 5 : cout << "five";
		break;
	case 6 : cout << "six";
		break;
	case 7 : cout << "seven";
		break;
	case 8 : cout << "eight";
		break;
	case 9 : cout << "nine";
		break;

	}
}

void changetoletters(int n) {

	if (n / 10 == 1) {
		tens_1(n % 10);
		return ;
	} else if (n / 10 > 1) {
		tens(n / 10);
	}

	if (n / 10 != 1 && n % 10 != 0) {
		if (n / 10 > 0 ) cout << "-";
		ones(n % 10);
	}

}
void solve() {

	int n;
	cin >> n;
	if (n == 10) { cout << "ten"; return ;}
	if (n == 0) { cout << "zero"; return ;}
	{

		changetoletters(n);
		n /= 10;
	}

}

int32_t main()
{
#ifndef ONLINE_JUDGE
	freopen("input.txt", "r", stdin);
	freopen("output5.txt", "w", stdout);
#endif
	ios::sync_with_stdio(0);
	cin.tie(0);
	int t = 1;
	while (t--) {
		solve();
	}
	return 0;
}

#include<iostream>
using namespace std;
int n,j,i;
string a[21]={"zero","one","two","three","four","five","six","seven","eight","nine","ten","eleven","twelve","thirteen","fourteen","fifteen","sixteen","seventeen","eighteen","nineteen","twenty"},
b[8]={"twenty","thirty","forty","fifty","sixty","seventy","eighty","ninety"};
main()
{
      cin>>n;
      if(n<=20)
      {
              cout<<a[n];
              //system("pause");
              return 0;
      }
      j=n%10;
      for(i=3; i<11; i++)
      if(n<i*10+1)
      {
                  if(j==0)
                  {
                  cout<<b[i-2];
                  //system("pause");
                  return 0;
                  }
                  cout<<b[i-3]<<"-"<<a[j];
                  //system("pause");
                  return 0;
      }
}

//
//  main.cpp
//  Game of Path
//
//  Created by Parsa Alimohammadi on 7/10/1399 AP.
//  Copyright © 1399 Parsa Alimohammadi. All rights reserved.
//

#define ll long long
#define ldu long double
#define pb push_back
#define pop pop_back()
#define du double
// --------------------------------------------------------------
/*
 #define paii pair<int , int>
 #define pasi pair<string,int>
 #define F first
 #define S second
 */
// --------------------------------------------------------------
#define input_txt freopen("input.txt" , "r" , stdin);
#define output_txt freopen("output.txt" , "w" , stdout);
#define Shield  ios::sync_with_stdio(0); cin.tie(0); cout.tie(0);
#define debug cout << "REAlY!! ";
// #define ashar cout << fixed << setprecision(tedad ashaar) << adadet ke bayad double bashe << endl;

#include <iostream>

using namespace std;

int n;

string s1[29]= {"zero", "one", "two", "three", "four", "five", "six", "seven", "eight", "nine",
    "ten", "eleven", "twelve", "thirteen", "fourteen", "fifteen", "sixteen", "seventeen", "eighteen", "nineteen"};
string s2[15]={"", "ten", "twenty", "thirty", "forty", "fifty", "sixty", "seventy", "eighty", "ninety"};

int main()
{
    cin >> n;
    string ans ;
    if (n>=20)
        ans = s2[n/10];
    if (n%10 >= 1 && n>=20)
    {
        if (ans.length() != 0)
            ans += '-';

         ans += s1[n%10];
    }
   if (n < 20)
      ans += s1[n];

    cout << ans;
    return 0;

}

#include <Iostream>
#include <string>
using namespace std;

int main(){
	int n; cin >> n;
	int ert,at;
	at=n/10;	ert=n%10;

	//cout << at << endl << ert;

	string ateulebi[10];
	ateulebi[2]="twenty";
	ateulebi[3]="thirty";
	ateulebi[4]="forty";
	ateulebi[5]="fifty";
	ateulebi[6]="sixty";
	ateulebi[7]="seventy";
	ateulebi[8]="eighty";
	ateulebi[9]="ninety";

	string erteulebi[10];
	erteulebi[0]="";
	erteulebi[1]="one";
	erteulebi[2]="two";
	erteulebi[3]="three";
	erteulebi[4]="four";
	erteulebi[5]="five";
	erteulebi[6]="six";
	erteulebi[7]="seven";
	erteulebi[8]="eight";
	erteulebi[9]="nine";

	if(n==0) {cout << "zero"; return 0;}
	switch(n){
		case 10: cout << "ten"; return 0;
		case 11: cout << "eleven"; return 0;
		case 12: cout << "twelve"; return 0;
		case 13: cout << "thirteen"; return 0;
		case 14: cout << "fourteen"; return 0;
		case 15: cout << "fifteen"; return 0;
		case 16: cout << "sixteen"; return 0;
		case 17: cout << "seventeen"; return 0;
		case 18: cout << "eighteen"; return 0;
		case 19: cout << "nineteen"; return 0;
		case 20: cout << "twenty"; return 0;
	}
	if(n<=9) {
		cout << erteulebi[ert];
		return 0;
	}
	if(n%10==0){
		cout << ateulebi[at];
		return 0;
	}
	cout << ateulebi[at] << '-' << erteulebi[ert];
}

#include <cstdio>
#include <cstring>
#include <iostream>
#include <algorithm>

using namespace std;
int n;
void solve(int a,int b)
{
	if(a==20){printf("twenty-");}
		if(a==30){printf("thirty-");}
		if(a==40){printf("forty-");}
		if(a==50){printf("fifty-");}
		if(a==60){printf("sixty-");}
		if(a==70){printf("seventy-");}
		if(a==80){printf("eighty-");}
		if(a==90){printf("ninety-");}

	if(b==1){printf("one\n");}
		if(b==2){printf("two\n");}
		if(b==3){printf("three\n");}
		if(b==4){printf("four\n");}
		if(b==5){printf("five\n");}
		if(b==6){printf("six\n");}
		if(b==7){printf("seven\n");}
		if(b==8){printf("eight\n");}
		if(b==9){printf("nine\n");}

}
int main(){
	while(~scanf("%d",&n)){
	if(n>10&&n<20)
	{
		if(n==11){printf("eleven\n");return 0;}
		if(n==12){printf("twelve\n");return 0;}
		if(n==13){printf("thirteen\n");return 0;}
		if(n==14){printf("fourteen\n");return 0;}
		if(n==15){printf("fifteen\n");return 0;}
		if(n==16){printf("sixteen\n");return 0;}
		if(n==17){printf("seventeen\n");return 0;}
		if(n==18){printf("eighteen\n");return 0;}
		if(n==19){printf("nineteen\n");return 0;}
	}
	else if(n<=10)
	{
		if(n==0){printf("zero\n");return 0;}
		if(n==1){printf("one\n");return 0;}
		if(n==2){printf("two\n");return 0;}
		if(n==3){printf("three\n");return 0;}
		if(n==4){printf("four\n");return 0;}
		if(n==5){printf("five\n");return 0;}
		if(n==6){printf("six\n");return 0;}
		if(n==7){printf("seven\n");return 0;}
		if(n==8){printf("eight\n");return 0;}
		if(n==9){printf("nine\n");return 0;}
		if(n==10){printf("ten\n");return 0;}
	}
	else if(n%10==0)
	{
		if(n==20){printf("twenty\n");return 0;}
		if(n==30){printf("thirty\n");return 0;}
		if(n==40){printf("forty\n");return 0;}
		if(n==50){printf("fifty\n");return 0;}
		if(n==60){printf("sixty\n");return 0;}
		if(n==70){printf("seventy\n");return 0;}
		if(n==80){printf("eighty\n");return 0;}
		if(n==90){printf("ninety\n");return 0;}
	}
	else
	{
		int a,b;
		a=n/10;
		b=n%10;
		a*=10;
		solve (a,b);
	}
}
	return 0;
}

//#define _CRT_DISABLE_PERFCRIT_LOCKS

#include <bits/stdc++.h>
using namespace std;

typedef pair<int, int> pii;
typedef unsigned long long ull;
typedef long long ll;

int main()
{
//    ios::sync_with_stdio(false);
//    freopen("in", "r", stdin);
//    freopen("out", "w", stdout);
//    for(int n = 0; n <= 99; n++){
    int n; cin >> n;
    int l, r;
    l = n / 10;
    r = n % 10;
    if(l == 1){
        if(r == 0)
            cout << "ten" << endl;
        if(r == 1)
            cout << "eleven" << endl;
        if(r == 2)
            cout << "twelve" << endl;
        if(r == 3)
            cout << "thirteen" << endl;
        if(r == 4)
            cout << "fourteen" << endl;
        if(r == 5)
            cout << "fifteen" << endl;
        if(r == 6)
            cout << "sixteen" << endl;
        if(r == 7)
            cout << "seventeen" << endl;
        if(r == 8)
            cout << "eighteen" << endl;
        if(r == 9)
            cout << "nineteen" << endl;
    }
    else{
    if(l == 2){
        cout << "twenty";
        if(r != 0)
            cout << "-";
    }
    if(l == 3){
        cout << "thirty";
        if(r != 0)
            cout << "-";
    }
    if(l == 4){
        cout << "forty";
        if(r != 0)
            cout << "-";
    }
    if(l == 5){
        cout << "fifty";
        if(r != 0)
            cout << "-";
    }
    if(l == 6){
        cout << "sixty";
        if(r != 0)
            cout << "-";
    }
    if(l == 7){
        cout << "seventy";
        if(r != 0)
            cout << "-";
    }
    if(l == 8){
        cout << "eighty";
        if(r != 0)
            cout << "-";
    }
    if(l == 9){
        cout << "ninety";
        if(r != 0)
            cout << "-";
    }
    if(n == 0){
        cout << "zero" << endl;
        //return 0;
    }
    else{
    if(r != 0){
    if(r == 1)
        cout << "one" << endl;
    if(r == 2)
        cout << "two" << endl;
    if(r == 3)
        cout << "three" << endl;
    if(r == 4)
        cout << "four" << endl;
    if(r == 5)
        cout << "five" << endl;
    if(r == 6)
        cout << "six" << endl;
    if(r == 7)
        cout << "seven" << endl;
    if(r == 8)
        cout << "eight" << endl;
    if(r == 9)
        cout << "nine" << endl;
    }
    }
    }
//    }
    return 0;
}

#ifndef _GLIBCXX_NO_ASSERT
#include <cassert>
#endif
#include <cctype>
#include <cerrno>
#include <cfloat>
#include <ciso646>
#include <climits>
#include <clocale>
#include <cmath>
#include <csetjmp>
#include <csignal>
#include <cstdarg>
#include <cstddef>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <ctime>

#if __cplusplus >= 201103L
#include <ccomplex>
#include <cfenv>
#include <cinttypes>
#include <cstdbool>
#include <cstdint>
#include <ctgmath>
#include <cwchar>
#include <cwctype>
#endif

#include <algorithm>
#include <bitset>
#include <complex>
#include <deque>
#include <exception>
#include <fstream>
#include <functional>
#include <iomanip>
#include <ios>
#include <iosfwd>
#include <iostream>
#include <istream>
#include <iterator>
#include <limits>
#include <list>
#include <locale>
#include <map>
#include <memory>
#include <new>
#include <numeric>
#include <ostream>
#include <queue>
#include <set>
#include <sstream>
#include <stack>
#include <stdexcept>
#include <streambuf>
#include <string>
#include <typeinfo>
#include <utility>
#include <valarray>
#include <vector>

#if __cplusplus >= 201103L
#include <array>
#include <atomic>
#include <chrono>
#include <condition_variable>
#include <forward_list>
#include <future>
#include <initializer_list>
#include <mutex>
#include <random>
#include <ratio>
#include <regex>
#include <scoped_allocator>
#include <system_error>
#include <thread>
#include <tuple>
#include <typeindex>
#include <type_traits>
#include <unordered_map>
#include <unordered_set>
#endif

#define fr first
#define sc second
#define pp pop_back
#define pb push_back
#define r_0 return 0
#define ll long long
#define ld long double
#define TIME ios_base::sync_with_stdio(0);
#define foi freopen( "input.txt", "r", stdin );
#define foo freopen( "output.txt", "w", stdout );

using namespace std;

const ll N = 1e5;

ll ari1[N];
char arc[N];
bool arb[N];
string ars[10] = { "one", "two", "three", "four", "five", "six", "seven", "eight", "nine" };
string ars3[9] = { "eleven", "twelve", "thirteen", "fourteen", "fifteen", "sixteen", "seventeen", "eighteen", "nineteen" };
string ars2[9] = { "ten", "twenty", "thirty", "forty", "fifty", "sixty", "seventy", "eighty", "ninety"};

ll x, y, z;
char a, b, c, d, e;
string s1, s2;
bool bl = false;

set<ll>s;
vector<ll>v;
map<ll, ll>mp;
pair<string, ll>pr;
set<ll>::iterator it;

int main()

{
    TIME

    cin >> x;

    if ( x == 0 ){
        cout << "zero";
        r_0;
    }

    if ( x > 10 and x < 20 ){
        ll j = 0;
        for ( int i = 11; i <= 19; i ++ ){
            if ( i == x ){
                cout << ars3[j];
                break;
            }
            j ++;
        }
    }else if ( x < 10 ){
        for ( int i = 1; i <= 9; i ++ ){
            if ( i == x ){
                cout << ars[i-1];
            }
        }
    }else if ( x % 10 == 0 ){
        ll i = 0;
        for ( int j = 10; j <= 90; j += 10 ){
            i ++;
            if ( j == x ){
                cout << ars2[i-1];
                break;
            }
        }
    }else{
        for ( int i = 1; i <= 9; i ++ ){
            if ( i == x/10 ){
                cout << ars2[i-1] << "-";
            }
        }for ( int i = 1; i <= 9; i ++ ){
            if ( i == x % 10 ){
                cout << ars[i-1];
            }
        }
    }
    r_0;
}

#include <iostream>
#include <stdio.h>
#include <string.h>
using namespace std;
int n;
char str[20][10]= {"zero","one","two","three","four","five","six","seven","eight","nine","ten","eleven","twelve","thirteen","fourteen","fifteen"};
char tenn[20][10] = {"","","twenty","thirty","forty","fifty","sixty","seventy","eighty","ninety"};
int main()
{
    while(scanf("%d",&n)!=EOF)
    {
        int x1=-1,x2=-1;
        if(n<=15)
        {
            printf("%s",str[n]);
        }
        else if(n<=19)
        {
            x1 = n%10;
            if(n==18)
                printf("eighteen");
            else
                printf("%steen",str[x1]);
        }
        else
        {
            x1 = n/10;
            printf("%s",tenn[x1]);
            if(n%10)
            {
                x2 = n%10;
                printf("-%s",str[x2]);
            }
        }
        printf("\n");
    }
    return 0;
}

#include<iostream>
#include<math.h>
#include<vector>
#include<map>
#include<string>
#include<stack>
#include<algorithm>
using namespace std;
int C(int n,int m)
{
	int nom = 1;
	int denom = 1;
	for (int i = max(m,n-m)+1;i<=n;i++) nom*=i;
	for (int i = 2;i<=min(m,n-m);i++) denom*=i;
	return nom/denom;
}
int main ()
{
	int n;
	cin>>n;
	int f = n/10;
	int s = n%10;
	string word1 = "",word2 = "";
	string w [] = {"one","two","three","four","five","six","seven","eight","nine"};
	string w2 [] = {"ten","twenty","thirty","forty","fifty","sixty","seventy","eighty","ninety"};
	if (f==0 && s==0) word1 = "zero";
	else if (f==0 && s!=0) word1 = w[s - 1];
	else if (f==1)
	{
		if (s==0) word1 = "ten";else if (s==1) word1 = "eleven";else if (s==2) word1 = "twelve";else if (s==3) word1 = "thirteen"; else if (s==5) word1 = "fifteen"; else if (s==8) word1 = "eighteen"; else word1 = w[s - 1] + "teen";
	}
	else
	{
		if (s==0 && f==2) word1 = "twenty";
		else if (s==0 && f!=2) word1 = w2[f - 1];
		else
		{
			word1 = w2[f - 1] +"-"+ w[s - 1];
		}
	}
	cout<<word1;
	//system("pause");

	return 0;
}

#include <iostream>
using namespace std;
int main(){
string a[] = {"zero","one","two","three","four","five","six","seven","eight","nine","ten","eleven","twelve","thirteen"};
string b[] = {"twenty","thirty","forty","fifty"};
int x;
cin >> x;
if(x <= 13) cout<<a[x]<<endl;
else{
 int y = x/10;
    if(y > 1){
        if(y > 5){
                if(x%10)
cout<<a[(y)]<<(a[(y)][a[(y)].size()-1] == 't' ? "y-":"ty-")<<a[(x%10)]<<endl;
else    cout<<a[(y)]<<(a[(y)][a[(y)].size()-1] == 't' ? "y":"ty")<<endl;;
        }else{
            if(x%10)
        cout<<b[y-2]<<"-"<<a[(x%10)]<<endl;
        else cout<<b[y-2]<<endl;
        }
    }else{
        if(x%10 == 5) cout<<"fifteen\n";
else
    cout<<a[(x%10)]<<(a[(x%10)][a[(x%10)].size()-1] == 't' ? "een":"teen")<<endl;
    }
}
    return 0;
}

#include <stdio.h>
#include <string.h>
#include <iostream>
#include <algorithm>
#include <vector>
#include <queue>
#include <set>
#include <map>
#include <string>
#include <math.h>
#include <stdlib.h>
#include <time.h>
using namespace std;

int main()
{
	//freopen("in.txt","r",stdin);
	//freopen("out.txt","w",stdout);
	vector<string> vnum(100, "");
	//num.push_back("zero");
	char num[100][100] = { "zero", "one", "two", "three", "four"
		,"five", "six", "seven", "eight", "nine", "ten", "eleven",
		"twelve","thirteen", "fourteen", "fifteen", "sixteen"
		,"seventeen", "eighteen", "nineteen", "twenty" };
	vnum[30] = "thirty";vnum[40] = "forty"; vnum[50] = "fifty";
	vnum[60] = "sixty"; vnum[70] = "seventy"; vnum[80] = "eighty";
	vnum[90] = "ninety";
	for (int i = 0; i <= 20; ++i)
	{
		vnum[i] = num[i];
	}
	for (int i = 2; i <= 9; ++i)
	{
		int t = 10 * i;
		for (int j = 1; j <= 9; ++j)
		{
			int n = t + j;
			vnum[n] = vnum[t] + "-" + (string)num[j];
		}
	}
	// for (int i = 0; i != 100; ++i)
	// 	cout << i << " " << vnum[i] << endl;
	int n;
	cin >> n;
	cout << vnum[n] << endl;
	return 0;
}

#include <iostream>
#include <string>
#include <algorithm>
#include <iomanip>
#include <sstream>
#include <math.h>
#include <stdlib.h>
#include <cstdlib>
#include <stdio.h>
#include <cstdio>
#include <cstring>
#include <cmath>
#include <fstream>
#include <stack>
#include <queue>
#include <deque>
#include <list>
#include <vector>
#include <map>
#include <set>

using namespace std;

const int O = 2e9;
const double E = 1e-9;
const double pi = 3.1415926536;
int DX[] = { 0, 0, -1, 1 };
int DY[] = { -1, 1, 0, 0 };

/*bool valid(int x,int y)
{
return ( (x>=0 && x<n) && (y>=0 && y<n) );
}

*/vector<long long>v;
void che(string s)
{
    stringstream ss;
    ss << s;
    long long tmp;
    ss >> tmp;
    v.push_back(tmp);
    if (s.size() == 10)
        return;
    che(s + '4');
    che(s + '7');
}
int main()
{
    //  freopen("input.txt" ,"r",stdin );
    //  freopen("output.txt","w",stdout);
    string n[10] = { "zero", "one", "two", "three", "four", "five", "six", "seven", "eight", "nine" };
    string n1[10] = { "teen", "twenty", "thirty", "forty", "fifty", "sixty", "seventy", "eighty", "ninety" };
    int nn;
    cin >> nn;
     if (nn >= 0 && nn <= 9)
    {
        cout << n[nn] << endl;
        return 0;
    }
    if (nn == 11)
    {
        cout << "eleven" << endl;
        return 0;
    }
    else if (nn == 12)
    {
        cout << "twelve" << endl;
        return 0;
    }
    else if (nn == 13)
    {
        cout << "thirteen" << endl;
        return 0;
    }
    else if (nn == 15)
    {
        cout << "fifteen" << endl;
        return 0;
    }
    else if (nn == 18)
    {
        cout << "eighteen" << endl;
        return 0;
    }
    else if (nn >= 14 && nn <= 19)
    {
        cout << n[nn % 10] << n1[0]<< endl;
        return 0;
    }
    else if (nn >20  && nn <= 29)
    {
        cout << n1[1] << "-" << n[nn%10] << endl;
        return 0;
    }
    else if (nn > 30 && nn <= 39)
    {
        cout << n1[2] << "-" << n[nn % 10] << endl;
        return 0;
    }
    else if (nn > 40 && nn <= 49)
    {
        cout << n1[3] << "-" << n[nn % 10] << endl;
        return 0;
    }
    else if (nn > 50 && nn <= 59)
    {
        cout << n1[4] << "-" << n[nn % 10] << endl;
        return 0;
    }
    else if (nn > 60 && nn <= 69)
    {
        cout << n1[5] << "-" << n[nn % 10] << endl;
        return 0;
    }
    else if (nn > 70 && nn <= 79)
    {
        cout << n1[6] << "-" << n[nn % 10] << endl;
        return 0;
    }
    else if (nn > 80 && nn <= 89)
    {
        cout << n1[7] << "-" << n[nn % 10] << endl;
        return 0;
    }
    else if (nn > 90 && nn <= 99)
    {
        cout << n1[8] << "-" << n[nn % 10] << endl;
        return 0;
    }
    else if (nn == 10)
    {
        cout << "ten" << endl;
        return 0;
    }
    cout << n1[nn/10 - 1] << endl;
}

#include<bits/stdc++.h>

using namespace std;

char st1[10][10] = { "zero", "one", "two", "three", "four", "five", "six", "seven", "eight", "nine" };

char st2[][20] = { "ten", "eleven", "twelve", "thirteen", "fourteen", "fifteen", "sixteen", "seventeen", "eighteen", "nineteen" };

char st3[10][10] = { "twenty", "thirty", "forty", "fifty", "sixty", "seventy", "eighty", "ninety" };

int main() {

	int n;

	scanf("%d", &n);

	if ( n < 10 ) { cout << st1[n] << endl; return 0; }

	else if ( n < 20 ) { cout<<st2[n-10] << endl; return 0; }

	else {

		cout<<st3[n/10-2];

		if ( n % 10 ) cout<<'-'<<st1[n%10]<<endl; return 0;

	}

	return 0;

}

#include <bits/stdc++.h>

#define inf 0x3f3f3f3f

#define mod 1000000007

#define pb push_back

using namespace std;

typedef long long INT;

#define NN 1100

char a[20][20]={"", "one", "two", "three", "four", "five", "six", "seven", "eight", "nine", "ten"};

char b[20][20]={"", "eleven", "twelve", "thirteen", "fourteen", "fifteen", "sixteen", "seventeen", "eighteen", "nineteen"};

char c[20][20]={"", "", "twenty", "thirty", "forty", "fifty", "sixty", "seventy", "eighty", "ninety"};

int main(){

	int N;

	cin>>N;

	if(N==0){

		puts("zero");

		return 0;

	}

	if(N<=10){

		puts(a[N]);

		return 0;

	}

	if(N<20){

		puts(b[N-10]);

		return 0;

	}

	printf("%s", c[N/10]);

	if(N%10) printf("-%s\n", a[N%10]);

}

#include<iostream>
#include<vector>
#include<string>
#include<map>
#include<set>
#include<cmath>
#include<algorithm>

using namespace std;

int main ()
{

    int number;
    cin>>number;

        if(number<10)
        {
            char digit2 = (number % 10) + '0';
            switch (digit2)
	{
    case '0':
        cout<<"zero";
        break;
		case '1':
			cout << "one";
			break;
		case '2':
			cout << "two";
			break;
		case '3':
			cout << "three";
			break;
		case '4':
			cout << "four";
			break;
		case '5':
			cout << "five";
			break;
		case '6':
			cout << "six";
			break;
		case '7':
			cout << "seven";
			break;
		case '8':
			cout << "eight";
			break;
		case '9':
			cout << "nine";
			break;
		default:
			cout << "";
			break;
	}

        }
        else
        {
             char digit1 = (number / 10) + '0';
	char digit2 = (number % 10) + '0';

	if (digit1 == '1')
	{
	switch (digit2)
	{
		case '0':
			cout << "ten";
			break;
		case '1':
			cout << "eleven";
			break;
		case '2':
			cout << "twelve";
			break;
		case '3':
			cout << "thirteen";
			break;
		case '4':
			cout << "fourteen";
			break;
		case '5':
			cout << "fifteen";
			break;
		case '6':
			cout << "sixteen";
			break;
		case '7':
			cout << "seventeen";
			break;
		case '8':
			cout << "eighteen";
			break;
		case '9':
			cout << "nineteen";
			break;
	}
	}
	else
	{
	switch (digit1)
	{
		case '2':
			cout << "twenty";
			break;
		case '3':
			cout << "thirty";
			break;
		case '4':
			cout << "forty";
			break;
		case '5':
			cout << "fifty";
			break;
		case '6':
			cout << "sixty";
			break;
		case '7':
			cout << "seventy";
			break;
		case '8':
			cout << "eighty";
			break;
		case '9':
			cout << "ninety";
			break;
	}
	switch (digit2)
	{
		case '1':
			cout << "-one";
			break;
		case '2':
			cout << "-two";
			break;
		case '3':
			cout << "-three";
			break;
		case '4':
			cout << "-four";
			break;
		case '5':
			cout << "-five";
			break;
		case '6':
			cout << "-six";
			break;
		case '7':
			cout << "-seven";
			break;
		case '8':
			cout << "-eight";
			break;
		case '9':
			cout << "-nine";
			break;
		default:
			cout << "";
			break;
	}
	}
        }

    return 0;
}

#include <iostream>
#include <string>

using namespace std;

void Ones(string number, string & word){
	switch (number[0]){
	case '0': word += "zero"; break;
	case '1': word += "one"; break;
	case '2': word += "two"; break;
	case '3': word += "three"; break;
	case '4': word += "four"; break;
	case '5': word += "five"; break;
	case '6': word += "six"; break;
	case '7': word += "seven"; break;
	case '8': word += "eight"; break;
	case '9': word += "nine"; break;
	default: cout << "Error @ Ones" << endl; break;
	}
	return;
}
void One(string number, string & word){
	switch (number[1]){
	case '0': break;
	case '1': word += "-one"; break;
	case '2': word += "-two"; break;
	case '3': word += "-three"; break;
	case '4': word += "-four"; break;
	case '5': word += "-five"; break;
	case '6': word += "-six"; break;
	case '7': word += "-seven"; break;
	case '8': word += "-eight"; break;
	case '9': word += "-nine"; break;
	default: cout << "Error @ Tens" << endl; break;
	}
	return;
}
void Teens(string number, string & word){
	switch (number[1]){
	case '0': word += "ten"; break;
	case '1': word += "eleven"; break;
	case '2': word += "twelve"; break;
	case '3': word += "thirteen"; break;
	case '4': word += "fourteen"; break;
	case '5': word += "fifteen"; break;
	case '6': word += "sixteen"; break;
	case '7': word += "seventeen"; break;
	case '8': word += "eighteen"; break;
	case '9': word += "nineteen"; break;
	default: cout << "Error @ Teens" << endl; break;
	}
	return;
}
void Tens(string number, string & word){
	switch (number[0]){
	case '1': Teens(number, word); break;
	case '2': word += "twenty"; One(number, word); break;
	case '3': word += "thirty"; One(number, word); break;
	case '4': word += "forty"; One(number, word); break;
	case '5': word += "fifty"; One(number, word); break;
	case '6': word += "sixty"; One(number, word); break;
	case '7': word += "seventy"; One(number, word); break;
	case '8': word += "eighty"; One(number, word); break;
	case '9': word += "ninety"; One(number, word); break;
	default: cout << "Error @ Tens" << endl; break;
	}
	return;
}

int main(){
	string number, word;
	cin >> number;

	if (number.size() >= 3) {
		cout << "Number Unknown" << endl;
		return 0;
	}
	if (number.size() >= 2){
		Tens(number, word);
	}
	else if (number.size() == 1){
		Ones(number, word);
	}

	cout << word << endl;
	return 0;
}

#include <iostream>
#include<string>
using namespace std;
string CheckO(int);
string CheckT(int);
void main()
{
    int x, y; string s;
    cin >> x;
    y = x % 10;
    x = (x - y) / 10;
    if (x == 0)
        cout << CheckO(y);
    else if (x == 1)
    {
        if (y == 0)cout << "ten";
        else if (y == 1)cout << "eleven";
        else if (y == 2)cout << "twelve";
        else if (y == 3)cout << "thirteen";
        else if (y == 5)cout << "fifteen";
        else if (y == 8)cout << "eighteen";
        else cout << CheckO(y) << "teen";
    }
    else if (x > 1)
    {

        if (y == 0) cout << CheckT(x);
        else cout << CheckT(x) << "-" << CheckO(y);
    }
}
string CheckO(int a)
{
    if (a == 0) return "zero";
    else if (a == 1) return "one";//
    else if (a == 2) return"two";
    else if (a == 3) return"three";
    else if (a == 4)return "four";
    else if (a == 5)return "five";
    else if (a == 6)return "six";
    else if (a == 7)return "seven";
    else if (a == 8)return "eight";
    else if (a == 9)return "nine";
}
string CheckT(int a)
{
    if (a == 2) return "twenty";
    else if (a == 3)return"thirty";
    else if(a == 4)return"forty";
    else if (a == 5)return "fifty";
    else if (a == 6)return "sixty";
    else if (a == 7)return "seventy";
    else if (a == 8)return "eighty";
    else if (a == 9)return "ninety";
}

#include <stdio.h>

int main(void)
{
	int a;

	scanf("%d",&a);

	switch(a/10)
	{
	case 0:
		switch(a%10)
	{
	case 0:
		printf("zero");
		break;

	case 1:
		printf("one");
		break;

	case 2:
		printf("two");
		break;

	case 3:
		printf("three");
		break;

	case 4:
		printf("four");
		break;

	case 5:
		printf("five");
		break;

	case 6:
		printf("six");
		break;

	case 7:
		printf("seven");
		break;

	case 8:
		printf("eight");
		break;

	case 9:
		printf("nine");
		break;

	}
	break;

	case 1:

	switch(a%10)
	{
	case 0:
		printf("ten");
		break;

	case 1:
		printf("eleven");
		break;

	case 2:
		printf("twelve");
		break;

	case 3:
		printf("thirteen");
		break;

	case 4:
		printf("fourteen");
		break;

	case 5:
		printf("fifteen");
		break;

	case 6:
		printf("sixteen");
		break;

	case 7:
		printf("seventeen");
		break;

	case 8:
		printf("eighteen");
		break;

	case 9:
		printf("nineteen");
		break;

	}
	break;

	case 2:
		printf("twenty");
		break;

	case 3:
		printf("thirty");
		break;

	case 4:
		printf("forty");
		break;

	case 5:
		printf("fifty");
		break;

	case 6:
		printf("sixty");
		break;

	case 7:
		printf("seventy");
		break;

	case 8:
		printf("eighty");
		break;

	case 9:
		printf("ninety");
		break;

	}

	if ((a/10)>1)

	switch(a%10)
	{
	case 0:
		printf("");
		break;

	case 1:
		printf("-one");
		break;

	case 2:
		printf("-two");
		break;

	case 3:
		printf("-three");
		break;

	case 4:
		printf("-four");
		break;

	case 5:
		printf("-five");
		break;

	case 6:
		printf("-six");
		break;

	case 7:
		printf("-seven");
		break;

	case 8:
		printf("-eight");
		break;

	case 9:
		printf("-nine");
		break;

	}

	return 0;
}

#include <iostream>
using namespace std;
int main(int argc, char *argv[])
{
   string s;
   cin>>s;
   string x;
   if(s=="0"){

    cout<<"zero";
    return 0;
   }
   if(s=="1"){

    cout<<"one";
    return 0;
   }
   else if(s=="2")
    {

    cout<<"two";
    return 0;
   }
   else if(s=="3")
   {

    cout<<"three";
    return 0;
   }
   else if(s=="4")
    {

    cout<<"four";
    return 0;
   }
  else  if(s=="5")
    {

    cout<<"five";
    return 0;
   }
  else  if(s=="6")
    {

    cout<<"six";
    return 0;
   }
  else  if(s=="7")
    {

    cout<<"seven";
    return 0;
   }
    else if(s=="8")
    {

    cout<<"eight";
    return 0;
   }
   else if(s=="9")
    {

    cout<<"nine";
    return 0;
   }
 else  if(s=="10")
   {

    cout<<"ten";
    return 0;
   }
  else if(s=="11")
   {

    cout<<"eleven";
    return 0;
   }
  else if(s=="12")
   {

    cout<<"twelve";
    return 0;
   }
 else  if(s=="13")
   {
    cout<<"thirteen";
    return 0;
   }
 else  if(s=="14")
   {

    cout<<"fourteen";
    return 0;
   }
 else  if(s=="15")
   {

    cout<<"fifteen";
    return 0;
   }
 else  if(s=="16")
 {

    cout<<"sixteen";
    return 0;
   }
  else if(s=="17")
   {

    cout<<"seventeen";
    return 0;
   }
 else  if(s=="18")
   {

    cout<<"eighteen";
    return 0;
   }
 else  if(s=="19")
   {

    cout<<"nineteen";
    return 0;
   }
   if(s[0]-'0'==2)
   x="twenty";
 else  if(s[0]-'0'==3)
   x="thirty";
 else  if(s[0]-'0'==4)
   x="forty";
 else   if(s[0]-'0'==5)
   x="fifty";
  else  if(s[0]-'0'==6)
   x="sixty";
  else  if(s[0]-'0'==7)
   x="seventy";
  else  if(s[0]-'0'==8)
   x="eighty";
  else  if(s[0]-'0'==9)
   x="ninety";
    if(s[1]-'0'==1)
    x+="-one";
 else   if(s[1]-'0'==2)
    x+="-two";
  else  if(s[1]-'0'==3)
    x+="-three";
  else  if(s[1]-'0'==4)
    x+="-four";
  else  if(s[1]-'0'==5)
    x+="-five";
  else  if(s[1]-'0'==6)
    x+="-six";
  else  if(s[1]-'0'==7)
    x+="-seven";
  else  if(s[1]-'0'==8)
    x+="-eight";
   else if(s[1]-'0'==9)
    x+="-nine";
    cout<<x;
    return 0;
}

#include <bits/stdc++.h>
using namespace std;

map <int,string> mis;

void psh()
{
    mis[0] = "zero";
    mis[1] = "one";
    mis[2] = "two";
    mis[3] = "three";
    mis[4] = "four";
    mis[5] = "five";
    mis[6] = "six";
    mis[7] = "seven";
    mis[8] = "eight";
    mis[9] = "nine";
    mis[10] = "ten";
    mis[11] = "eleven";
    mis[12] = "twelve";
    mis[13] = "thirteen";
    mis[14] = "fourteen";
    mis[15] = "fifteen";
    mis[16] = "sixteen";
    mis[17] = "seventeen";
    mis[18] = "eighteen";
    mis[19] = "nineteen";
    mis[20] = "twenty";
    mis[100] = "hundred";
}

string bck(char c)
{
    if(c == '2')return "twenty";
    else if(c == '3')return "thirty";
    else if(c == '4')return "forty";
    else if(c == '5')return "fifty";
    else if(c == '6')return "sixty";
    else if(c == '7')return "seventy";
    else if(c == '8')return "eighty";
    else if(c == '9')return "ninety";
}

int main()
{
    int n;

    psh();

    cin >> n;

    if(n <=20 || n == 100){
        cout << mis[n] << endl;
    }
    else{
        string a = to_string(n);
        //int t = n%10;
        cout << bck(a[0]);
        if(n%10 != 0){
             cout << "-" << mis[n%10] << endl;
        }
    }

    return 0;
}

#include<stdio.h>
#include<math.h>
#include<stdlib.h>
#include <string.h>
#include<algorithm>
#define ll long long
#define max 200005
using namespace std;
int main()
{
    char a,b;
    char str[3],graph[30][15] = { { "zero" }, { "one" }, { "two" }, { "three" }, { "four" }, { "five" }, { "six" }, { "seven" }, { "eight" }, { "nine" }, { "ten" }, { "eleven" }, { "twelve" }, { "thirteen" }, { "fourteen" }, { "fifteen" }, { "sixteen" }, { "seventeen" }, { "eighteen" }, { "nineteen" }, { "twenty" }, { "thirty" }, { "forty" }, { "fifty" }, { "sixty" }, { "seventy" }, { "eighty" }, { "ninety" } };
    int x, y, i, j;
    scanf("%s",str);
    getchar();
    if (sscanf(str, "%c%c", &a, &b) == 1)
    {
        printf("%s\n", graph[a - 48]);
    }
    else if (sscanf(str, "%c%c", &a, &b) == 1, a == '1')
    {
        printf("%s\n", graph[(a - 48) * 10 + b - 48]);
    }
    else if (sscanf(str, "%c%c", &a, &b), b == '0')
    {
        printf("%s\n", graph[a - 50 + 20]);
    }
    else if (sscanf(str, "%c%c", &a, &b))
    {
        printf("%s-%s\n", graph[a - 50 + 20], graph[b - 48]);
    }

}

#include<bits/stdc++.h>
#include<ext/pb_ds/assoc_container.hpp>
//C:\Users\prana\Desktop\C++\CodeForcesQs
using namespace std;
using namespace __gnu_pbds;
typedef long long int ll;
typedef long int l;
typedef long double ld;
extern const int primes[];
#define fast ios::sync_with_stdio(0);cin.tie(0);cout.tie(0);
#define stringtochararray \
string s;cin>>s;int n=s.length();char a[n+1];strcpy(a,s.c_str());
#define PB push_back
#define F first
#define S second
#define PT palindromeTest
#define GS generateSubsets
				//Generates all subsets from 0...(n-1) and returns a vector.
#define GP generatePermutations
				//Generates all permutations of 0...(n-1)
#define PF primeFactorization
				//Return type string
main()
{
	fast;
	int n;
	cin>>n;
	if (n==11)
        cout<<"eleven";
    else if (n==12)
        cout<<"twelve";
    else if (n==13)
        cout<<"thirteen";
    else if (n==14)
        cout<<"fourteen";
    else if (n==15)
        cout<<"fifteen";
    else if (n==16)
        cout<<"sixteen";
    else if (n==17)
        cout<<"seventeen";
    else if (n==18)
        cout<<"eighteen";
    else if (n==19)
        cout<<"nineteen";
    else if (n==10)
        cout<<"ten";
    else
    {
        if (n/10==0)
            cout<<"";
        else if (n/10==2)
            cout<<"twenty";
        else if (n/10==3)
            cout<<"thirty";
        else if (n/10==4)
            cout<<"forty";
        else if (n/10==5)
            cout<<"fifty";
        else if (n/10==6)
            cout<<"sixty";
        else if (n/10==7)
            cout<<"seventy";
        else if (n/10==8)
            cout<<"eighty";
        else if (n/10==9)
            cout<<"ninety";
        else {}
        if (n==0)
            cout<<"zero";
        if (n%10>=1&&n/10>1)
            cout<<"-";
        if (n%10==1)
            cout<<"one";
        else if (n%10==2)
            cout<<"two";
        else if (n%10==3)
            cout<<"three";
        else if (n%10==4)
            cout<<"four";
        else if (n%10==5)
            cout<<"five";
        else if (n%10==6)
            cout<<"six";
        else if (n%10==7)
            cout<<"seven";
        else if (n%10==8)
            cout<<"eight";
        else if (n%10==9)
            cout<<"nine";
    }
}
/*
const
int primes[]={2,3,5,7,11,13,17,19,23,29,31,37,41,43,47,53,59,61,67,71,73,79,83,89,97,101,103,107,109,113,127,131,137,139,149,151,157,163,167,173,179,181,191,193,197,199,211,223,227,229,233,239,241,251,257,263,269,271,277,281,283,293,307,311,313,317
,331,337,347,349,353,359,367,373,379,383,389,397,401,409,419,421,431,433,439,443,449,457,461,463,467,479,487,491,499,503,509,521,523,541,547,557,563,569,571,577,587,593,599,601,607,613,617,619,631,641,643,647,653,659,661,673,677,683,691,701,709,719
,727,733,739,743,751,757,761,769,773,787,797,809,811,821,823,827,829,839,853,857,859,863,877,881,883,887,907,911,919,929,937,941,947,953,967,971,977,983,991,997,1009,1013,1019,1021,1031,1033,1039,1049,1051,1061,1063,1069,1087,1091,1093,1097,1103
,1109,1117,1123,1129,1151,1153,1163,1171,1181,1187,1193,1201,1213,1217,1223,1229,1231,1237,1249,1259,1277,1279,1283,1289,1291,1297,1301,1303,1307,1319,1321,1327,1361,1367,1373,1381,1399,1409,1423,1427,1429,1433,1439,1447,1451,1453,1459,1471,1481
,1483,1487,1489,1493,1499,1511,1523,1531,1543,1549,1553,1559,1567,1571,1579,1583,1597,1601,1607,1609,1613,1619,1621,1627,1637,1657,1663,1667,1669,1693,1697,1699,1709,1721,1723,1733,1741,1747,1753,1759,1777,1783,1787,1789,1801,1811,1823,1831,1847
,1861,1867,1871,1873,1877,1879,1889,1901,1907,1913,1931,1933,1949,1951,1973,1979,1987,1993,1997,1999,2003,2011,2017,2027,2029,2039,2053,2063,2069,2081,2083,2087,2089,2099,2111,2113,2129,2131,2137,2141,2143,2153,2161,2179,2203,2207,2213,2221,2237
,2239,2243,2251,2267,2269,2273,2281,2287,2293,2297,2309,2311,2333,2339,2341,2347,2351,2357,2371,2377,2381,2383,2389,2393,2399,2411,2417,2423,2437,2441,2447,2459,2467,2473,2477,2503,2521,2531,2539,2543,2549,2551,2557,2579,2591,2593,2609,2617,2621
,2633,2647,2657,2659,2663,2671,2677,2683,2687,2689,2693,2699,2707,2711,2713,2719,2729,2731,2741,2749,2753,2767,2777,2789,2791,2797,2801,2803,2819,2833,2837,2843,2851,2857,2861,2879,2887,2897,2903,2909,2917,2927,2939,2953,2957,2963,2969,2971,2999
,3001,3011,3019,3023,3037,3041,3049,3061,3067,3079,3083,3089,3109,3119,3121,3137,3163,3167,3169,3181,3187,3191,3203,3209,3217,3221,3229,3251,3253,3257,3259,3271,3299,3301,3307,3313,3319,3323,3329,3331,3343,3347,3359,3361,3371,3373,3389,3391,3407
,3413,3433,3449,3457,3461,3463,3467,3469,3491,3499,3511,3517,3527,3529,3533,3539,3541,3547,3557,3559,3571,3581,3583,3593,3607,3613,3617,3623,3631,3637,3643,3659,3671,3673,3677,3691,3697,3701,3709,3719,3727,3733,3739,3761,3767,3769,3779,3793,3797
,3803,3821,3823,3833,3847,3851,3853,3863,3877,3881,3889,3907,3911,3917,3919,3923,3929,3931,3943,3947,3967,3989,4001,4003,4007,4013,4019,4021,4027,4049,4051,4057,4073,4079,4091,4093,4099,4111,4127,4129,4133,4139,4153,4157,4159,4177,4201,4211,4217
,4219,4229,4231,4241,4243,4253,4259,4261,4271,4273,4283,4289,4297,4327,4337,4339,4349,4357,4363,4373,4391,4397,4409,4421,4423,4441,4447,4451,4457,4463,4481,4483,4493,4507,4513,4517,4519,4523,4547,4549,4561,4567,4583,4591,4597,4603,4621,4637,4639
,4643,4649,4651,4657,4663,4673,4679,4691,4703,4721,4723,4729,4733,4751,4759,4783,4787,4789,4793,4799,4801,4813,4817,4831,4861,4871,4877,4889,4903,4909,4919,4931,4933,4937,4943,4951,4957,4967,4969,4973,4987,4993,4999,5003,5009,5011,5021,5023,5039
,5051,5059,5077,5081,5087,5099,5101,5107,5113,5119,5147,5153,5167,5171,5179,5189,5197,5209,5227,5231,5233,5237,5261,5273,5279,5281,5297,5303,5309,5323,5333,5347,5351,5381,5387,5393,5399,5407,5413,5417,5419,5431,5437,5441,5443,5449,5471,5477,5479
,5483,5501,5503,5507,5519,5521,5527,5531,5557,5563,5569,5573,5581,5591,5623,5639,5641,5647,5651,5653,5657,5659,5669,5683,5689,5693,5701,5711,5717,5737,5741,5743,5749,5779,5783,5791,5801,5807,5813,5821,5827,5839,5843,5849,5851,5857,5861,5867,5869
,5879,5881,5897,5903,5923,5927,5939,5953,5981,5987,6007,6011,6029,6037,6043,6047,6053,6067,6073,6079,6089,6091,6101,6113,6121,6131,6133,6143,6151,6163,6173,6197,6199,6203,6211,6217,6221,6229,6247,6257,6263,6269,6271,6277,6287,6299,6301,6311,6317
,6323,6329,6337,6343,6353,6359,6361,6367,6373,6379,6389,6397,6421,6427,6449,6451,6469,6473,6481,6491,6521,6529,6547,6551,6553,6563,6569,6571,6577,6581,6599,6607,6619,6637,6653,6659,6661,6673,6679,6689,6691,6701,6703,6709,6719,6733,6737,6761,6763
,6779,6781,6791,6793,6803,6823,6827,6829,6833,6841,6857,6863,6869,6871,6883,6899,6907,6911,6917,6947,6949,6959,6961,6967,6971,6977,6983,6991,6997,7001,7013,7019,7027,7039,7043,7057,7069,7079,7103,7109,7121,7127,7129,7151,7159,7177,7187,7193,7207
,7211,7213,7219,7229,7237,7243,7247,7253,7283,7297,7307,7309,7321,7331,7333,7349,7351,7369,7393,7411,7417,7433,7451,7457,7459,7477,7481,7487,7489,7499,7507,7517,7523,7529,7537,7541,7547,7549,7559,7561,7573,7577,7583,7589,7591,7603,7607,7621,7639
,7643,7649,7669,7673,7681,7687,7691,7699,7703,7717,7723,7727,7741,7753,7757,7759,7789,7793,7817,7823,7829,7841,7853,7867,7873,7877,7879,7883,7901,7907,7919,7927,7933,7937,7949,7951,7963,7993,8009,8011,8017,8039,8053,8059,8069,8081,8087,8089,8093
,8101,8111,8117,8123,8147,8161,8167,8171,8179,8191,8209,8219,8221,8231,8233,8237,8243,8263,8269,8273,8287,8291,8293,8297,8311,8317,8329,8353,8363,8369,8377,8387,8389,8419,8423,8429,8431,8443,8447,8461,8467,8501,8513,8521,8527,8537,8539,8543,8563
,8573,8581,8597,8599,8609,8623,8627,8629,8641,8647,8663,8669,8677,8681,8689,8693,8699,8707,8713,8719,8731,8737,8741,8747,8753,8761,8779,8783,8803,8807,8819,8821,8831,8837,8839,8849,8861,8863,8867,8887,8893,8923,8929,8933,8941,8951,8963,8969,8971
,8999,9001,9007,9011,9013,9029,9041,9043,9049,9059,9067,9091,9103,9109,9127,9133,9137,9151,9157,9161,9173,9181,9187,9199,9203,9209,9221,9227,9239,9241,9257,9277,9281,9283,9293,9311,9319,9323,9337,9341,9343,9349,9371,9377,9391,9397,9403,9413,9419
,9421,9431,9433,9437,9439,9461,9463,9467,9473,9479,9491,9497,9511,9521,9533,9539,9547,9551,9587,9601,9613,9619,9623,9629,9631,9643,9649,9661,9677,9679,9689,9697,9719,9721,9733,9739,9743,9749,9767,9769,9781,9787,9791,9803,9811,9817,9829,9833,9839
,9851,9857,9859,9871,9883,9887,9901,9907,9923,9929,9931,9941,9949,9967,9973,10007,10009,10037,10039,10061,10067,10069,10079,10091,10093,10099,10103,10111,10133,10139,10141,10151,10159,10163,10169,10177,10181,10193,10211,10223,10243,10247,10253
,10259,10267,10271,10273,10289,10301,10303,10313,10321,10331,10333,10337,10343,10357,10369,10391,10399,10427,10429,10433,10453,10457,10459,10463,10477,10487,10499,10501,10513,10529,10531,10559,10567,10589,10597,10601,10607,10613,10627,10631,10639
,10651,10657,10663,10667,10687,10691,10709,10711,10723,10729,10733,10739,10753,10771,10781,10789,10799,10831,10837,10847,10853,10859,10861,10867,10883,10889,10891,10903,10909,10937,10939,10949,10957,10973,10979,10987,10993,11003,11027,11047,11057
,11059,11069,11071,11083,11087,11093,11113,11117,11119,11131,11149,11159,11161,11171,11173,11177,11197,11213,11239,11243,11251,11257,11261,11273,11279,11287,11299,11311,11317,11321,11329,11351,11353,11369,11383,11393,11399,11411,11423,11437,11443
,11447,11467,11471,11483,11489,11491,11497,11503,11519,11527,11549,11551,11579,11587,11593,11597,11617,11621,11633,11657,11677,11681,11689,11699,11701,11717,11719,11731,11743,11777,11779,11783,11789,11801,11807,11813,11821,11827,11831,11833,11839
,11863,11867,11887,11897,11903,11909,11923,11927,11933,11939,11941,11953,11959,11969,11971,11981,11987,12007,12011,12037,12041,12043,12049,12071,12073,12097,12101,12107,12109,12113,12119,12143,12149,12157,12161,12163,12197,12203,12211,12227,12239
,12241,12251,12253,12263,12269,12277,12281,12289,12301,12323,12329,12343,12347,12373,12377,12379,12391,12401,12409,12413,12421,12433,12437,12451,12457,12473,12479,12487,12491,12497,12503,12511,12517,12527,12539,12541,12547,12553,12569,12577,12583
,12589,12601,12611,12613,12619,12637,12641,12647,12653,12659,12671,12689,12697,12703,12713,12721,12739,12743,12757,12763,12781,12791,12799,12809,12821,12823,12829,12841,12853,12889,12893,12899,12907,12911,12917,12919,12923,12941,12953,12959,12967
,12973,12979,12983,13001,13003,13007,13009,13033,13037,13043,13049,13063,13093,13099,13103,13109,13121,13127,13147,13151,13159,13163,13171,13177,13183,13187,13217,13219,13229,13241,13249,13259,13267,13291,13297,13309,13313,13327,13331,13337,13339
,13367,13381,13397,13399,13411,13417,13421,13441,13451,13457,13463,13469,13477,13487,13499,13513,13523,13537,13553,13567,13577,13591,13597,13613,13619,13627,13633,13649,13669,13679,13681,13687,13691,13693,13697,13709,13711,13721,13723,13729,13751
,13757,13759,13763,13781,13789,13799,13807,13829,13831,13841,13859,13873,13877,13879,13883,13901,13903,13907,13913,13921,13931,13933,13963,13967,13997,13999,14009,14011,14029,14033,14051,14057,14071,14081,14083,14087,14107,14143,14149,14153,14159
,14173,14177,14197,14207,14221,14243,14249,14251,14281,14293,14303,14321,14323,14327,14341,14347,14369,14387,14389,14401,14407,14411,14419,14423,14431,14437,14447,14449,14461,14479,14489,14503,14519,14533,14537,14543,14549,14551,14557,14561,14563
,14591,14593,14621,14627,14629,14633,14639,14653,14657,14669,14683,14699,14713,14717,14723,14731,14737,14741,14747,14753,14759,14767,14771,14779,14783,14797,14813,14821,14827,14831,14843,14851,14867,14869,14879,14887,14891,14897,14923,14929,14939
,14947,14951,14957,14969,14983,15013,15017,15031,15053,15061,15073,15077,15083,15091,15101,15107,15121,15131,15137,15139,15149,15161,15173,15187,15193,15199,15217,15227,15233,15241,15259,15263,15269,15271,15277,15287,15289,15299,15307,15313,15319
,15329,15331,15349,15359,15361,15373,15377,15383,15391,15401,15413,15427,15439,15443,15451,15461,15467,15473,15493,15497,15511,15527,15541,15551,15559,15569,15581,15583,15601,15607,15619,15629,15641,15643,15647,15649,15661,15667,15671,15679,15683
,15727,15731,15733,15737,15739,15749,15761,15767,15773,15787,15791,15797,15803,15809,15817,15823,15859,15877,15881,15887,15889,15901,15907,15913,15919,15923,15937,15959,15971,15973,15991,16001,16007,16033,16057,16061,16063,16067,16069,16073,16087
,16091,16097,16103,16111,16127,16139,16141,16183,16187,16189,16193,16217,16223,16229,16231,16249,16253,16267,16273,16301,16319,16333,16339,16349,16361,16363,16369,16381,16411,16417,16421,16427,16433,16447,16451,16453,16477,16481,16487,16493,16519
,16529,16547,16553,16561,16567,16573,16603,16607,16619,16631,16633,16649,16651,16657,16661,16673,16691,16693,16699,16703,16729,16741,16747,16759,16763,16787,16811,16823,16829,16831,16843,16871,16879,16883,16889,16901,16903,16921,16927,16931,16937
,16943,16963,16979,16981,16987,16993,17011,17021,17027,17029,17033,17041,17047,17053,17077,17093,17099,17107,17117,17123,17137,17159,17167,17183,17189,17191,17203,17207,17209,17231,17239,17257,17291,17293,17299,17317,17321,17327,17333,17341,17351
,17359,17377,17383,17387,17389,17393,17401,17417,17419,17431,17443,17449,17467,17471,17477,17483,17489,17491,17497,17509,17519,17539,17551,17569,17573,17579,17581,17597,17599,17609,17623,17627,17657,17659,17669,17681,17683,17707,17713,17729,17737
,17747,17749,17761,17783,17789,17791,17807,17827,17837,17839,17851,17863,17881,17891,17903,17909,17911,17921,17923,17929,17939,17957,17959,17971,17977,17981,17987,17989,18013,18041,18043,18047,18049,18059,18061,18077,18089,18097,18119,18121,18127
,18131,18133,18143,18149,18169,18181,18191,18199,18211,18217,18223,18229,18233,18251,18253,18257,18269,18287,18289,18301,18307,18311,18313,18329,18341,18353,18367,18371,18379,18397,18401,18413,18427,18433,18439,18443,18451,18457,18461,18481,18493
,18503,18517,18521,18523,18539,18541,18553,18583,18587,18593,18617,18637,18661,18671,18679,18691,18701,18713,18719,18731,18743,18749,18757,18773,18787,18793,18797,18803,18839,18859,18869,18899,18911,18913,18917,18919,18947,18959,18973,18979,19001
,19009,19013,19031,19037,19051,19069,19073,19079,19081,19087,19121,19139,19141,19157,19163,19181,19183,19207,19211,19213,19219,19231,19237,19249,19259,19267,19273,19289,19301,19309,19319,19333,19373,19379,19381,19387,19391,19403,19417,19421,19423
,19427,19429,19433,19441,19447,19457,19463,19469,19471,19477,19483,19489,19501,19507,19531,19541,19543,19553,19559,19571,19577,19583,19597,19603,19609,19661,19681,19687,19697,19699,19709,19717,19727,19739,19751,19753,19759,19763,19777,19793,19801
,19813,19819,19841,19843,19853,19861,19867,19889,19891,19913,19919,19927,19937,19949,19961,19963,19973,19979,19991,19993,19997,20011,20021,20023,20029,20047,20051,20063,20071,20089,20101,20107,20113,20117,20123,20129,20143,20147,20149,20161,20173
,20177,20183,20201,20219,20231,20233,20249,20261,20269,20287,20297,20323,20327,20333,20341,20347,20353,20357,20359,20369,20389,20393,20399,20407,20411,20431,20441,20443,20477,20479,20483,20507,20509,20521,20533,20543,20549,20551,20563,20593,20599
};*/

//
//  A[better].cpp
//
//
//  Created by Sai Sanjay on 4/16/15.
//
//
#include <stdio.h>
#include <iostream>
#include <string>

using namespace std;

int main(){
    string num;
    cin >> num;
    string ans;
    string ones[] = { "zero", "one", "two", "three", "four", "five", "six", "seven", "eight", "nine"};
    string tens[] = {"twenty", "thirty", "forty", "fifty", "sixty", "seventy", "eighty", "ninety"};
    string teens[] = {"eleven", "twelve", "thirteen", "fourteen", "fifteen", "sixteen", "seventeen", "eighteen", "nineteen"};

    if(num.length() == 1){
        cout << ones[num[0]-'0'] << endl;
    }
    else{
        if(num[0] == '1' && num[1] == '0'){
            cout << "ten" << endl;
        }
        else if(num[0] == '1'){
            cout << teens[num[1]-'1'] << endl;
        }
        else if(num[1] == '0'){
            cout << tens[num[0]-'2'] << endl;
        }
        else{
            cout << tens[num[0]-'2'] << '-' << ones[num[1]-'0'] << endl;
        }
    }
}

#include <iostream>
using namespace std;
#include<string>
int main() {
    int m,n,p,f=0;
    string st1[10]={"zero","one","two","three","four","five","six","seven","eight","nine"};
    string st2[8]={"twenty","thirty","forty","fifty","sixty","seventy","eighty","ninety"};
    string st3[10]={"ten","eleven","twelve","thirteen","fourteen","fifteen","sixteen","seventeen","eighteen","nineteen"};
    cin>>m;
    n=m%10;
    p=m/10;
    if(p==1){
        cout<<st3[n];
        goto m;
    }
    if(p!=0){
        cout<<st2[p-2];
        f=1;
    }
    if(f==1){

        if(n!=0){
            cout<<"-";
            cout<<st1[n];
        }
    }
    else{
        cout<<st1[n];
    }

    m:
    return 0;
}

    #include<iostream>
    using namespace std;
    int main()
    {
        int S;
    	cin >> S;

    	if (S > 100 || S < 0) {

    		cout << "ERROR";

    	}

    	if (S > 19 && S % 10 == 0) {

    		switch (S)

    		{

    		case 20: cout << "twenty"; break;

    		case 30: cout << "thirty"; break;

    		case 40: cout << "forty"; break;

    		case 50: cout << "fifty"; break;

    		case 60: cout << "sixty"; break;

    		case 70: cout << "seventy"; break;

    		case 80: cout << "eighty"; break;

    		case 90: cout << "ninety"; break;

    		}
    	}

    	if (S > 19 && S % 10 != 0) {

    		switch (S / 10)

    		{

    		case 2: cout << "twenty-"; break;

    		case 3: cout << "thirty-"; break;

    		case 4: cout << "forty-"; break;

    		case 5: cout << "fifty-"; break;

    		case 6: cout << "sixty-"; break;

    		case 7: cout << "seventy-"; break;

    		case 8: cout << "eighty-"; break;

    		case 9: cout << "ninety-"; break;

    		}
    	}

    	if (S >= 10 && S < 20) {

    		switch (S) {

    		case 10: cout << "ten"; break;

    		case 11: cout << "eleven"; break;

    		case 12: cout << "twelve"; break;

    		case 13: cout << "thirteen"; break;

    		case 14: cout << "fourteen"; break;

    		case 15: cout << "fifteen"; break;

    		case 16: cout << "sixteen"; break;

    		case 17: cout << "seventeen"; break;

    		case 18: cout << "eighteen"; break;

    		case 19: cout << "nineteen"; break;

    		}
    	}
    	if ((S > 0 && S < 10) || (S > 20 && S <= 99))

    	{
    		switch (S % 10)

    		{

    		case 1: cout << "one"; break;

    		case 2: cout << "two"; break;

    		case 3: cout << "three"; break;

    		case 4: cout << "four"; break;

    		case 5: cout << "five"; break;

    		case 6: cout << "six"; break;

    		case 7: cout << "seven"; break;

    		case 8: cout << "eight"; break;

    		case 9: cout << "nine"; break;

    		}
    	}

    	if (S == 0) {
    		cout << "zero" << endl;
    	}

    	cout << "" << endl;

    	return 0;
    }

#include <stdio.h>
#include <stdlib.h>

char a[50][20]={"zero","one","two","three","four","five","six","seven","eight","nine","ten","eleven",
                    "twelve","thirteen","fourteen","fifteen","sixteen","seventeen","eighteen","nineteen",
                    "twenty","thirty","forty","fifty","sixty","seventy","eighty","ninety",};

int main()
{
    int s;
    scanf("%d",&s);
    if(s<=20)
    {
        printf("%s",a[s]);
    }
    else
    {
        if(s%10!=0)
        printf("%s-%s",a[s/10-2+20],a[s%10]);
        else
        printf("%s",a[s/10-2+20]);
    }
    return 0;
}

#include <iostream>
#include <string>
using namespace std;
int main()
{
    string a;
    cin >> a;

    switch (a[0])
    {
    case '1':
        if (a.length() > 1)
        {
            switch (a[1])
            {
            case '1':
                cout << "eleven" << endl;
                break;
            case '2':
                cout << "twelve" << endl;
                break;
            case '3':
                cout << "thirteen" << endl;
                break;
            case '4':
                cout << "fourteen" << endl;
                break;
            case '5':
                cout << "fifteen" << endl;
                break;
            case '6':
                cout << "sixteen" << endl;
                break;
            case '7':
                cout << "seventeen" << endl;
                break;
            case '8':
                cout << "eighteen" << endl;
                break;
            case '9':
                cout << "nineteen" << endl;
                break;
            case '0':
                cout << "ten" << endl;
                break;
            }
        }
        else
        {
            cout << "one" << endl;
            break;
        }
        break;
    case '2':
        if (a.length() < 2)
        {
            cout << "two" << endl;
            break;
        }
        else
        {
            cout << "twenty";
            switch (a[1])
            {
            case '1':
                cout << "-one" << endl;
                break;
            case '2':
                cout << "-two" << endl;
                break;
            case '3':
                cout << "-three" << endl;
                break;
            case '4':
                cout << "-four" << endl;
                break;
            case '5':
                cout << "-five" << endl;
                break;
            case '6':
                cout << "-six" << endl;
                break;
            case '7':
                cout << "-seven" << endl;
                break;
            case '8':
                cout << "-eight" << endl;
                break;
            case '9':
                cout << "-nine" << endl;
                break;
            }
        }
        break;
    case '3':
        if (a.length() < 2)
        {
            cout << "three" << endl;
            break;
        }
        else
        {
            cout << "thirty";
            switch (a[1])
            {
            case '1':
                cout << "-one" << endl;
                break;
            case '2':
                cout << "-two" << endl;
                break;
            case '3':
                cout << "-three" << endl;
                break;
            case '4':
                cout << "-four" << endl;
                break;
            case '5':
                cout << "-five" << endl;
                break;
            case '6':
                cout << "-six" << endl;
                break;
            case '7':
                cout << "-seven" << endl;
                break;
            case '8':
                cout << "-eight" << endl;
                break;
            case '9':
                cout << "-nine" << endl;
                break;
            }
        }
        break;
    case '4':
        if (a.length() < 2)
        {
            cout << "four" << endl;
            break;
        }
        else
        {
            cout << "forty";
            switch (a[1])
            {
            case '1':
                cout << "-one" << endl;
                break;
            case '2':
                cout << "-two" << endl;
                break;
            case '3':
                cout << "-three" << endl;
                break;
            case '4':
                cout << "-four" << endl;
                break;
            case '5':
                cout << "-five" << endl;
                break;
            case '6':
                cout << "-six" << endl;
                break;
            case '7':
                cout << "-seven" << endl;
                break;
            case '8':
                cout << "-eight" << endl;
                break;
            case '9':
                cout << "-nine" << endl;
                break;
            }
        }
        break;
    case '5':
        if (a.length() < 2)
        {
            cout << "five" << endl;
            break;
        }
        else
        {
            cout << "fifty";
            switch (a[1])
            {
            case '1':
                cout << "-one" << endl;
                break;
            case '2':
                cout << "-two" << endl;
                break;
            case '3':
                cout << "-three" << endl;
                break;
            case '4':
                cout << "-four" << endl;
                break;
            case '5':
                cout << "-five" << endl;
                break;
            case '6':
                cout << "-six" << endl;
                break;
            case '7':
                cout << "-seven" << endl;
                break;
            case '8':
                cout << "-eight" << endl;
                break;
            case '9':
                cout << "-nine" << endl;
                break;
            }
        }
        break;
    case '6':
        if (a.length() < 2)
        {
            cout << "six" << endl;
            break;
        }
        else
        {
            cout << "sixty";
            switch (a[1])
            {
            case '1':
                cout << "-one" << endl;
                break;
            case '2':
                cout << "-two" << endl;
                break;
            case '3':
                cout << "-three" << endl;
                break;
            case '4':
                cout << "-four" << endl;
                break;
            case '5':
                cout << "-five" << endl;
                break;
            case '6':
                cout << "-six" << endl;
                break;
            case '7':
                cout << "-seven" << endl;
                break;
            case '8':
                cout << "-eight" << endl;
                break;
            case '9':
                cout << "-nine" << endl;
                break;
            }
        }
        break;
    case '7':
        if (a.length() < 2)
        {
            cout << "seven" << endl;
            break;
        }
        else
        {
            cout << "seventy";
            switch (a[1])
            {
            case '1':
                cout << "-one" << endl;
                break;
            case '2':
                cout << "-two" << endl;
                break;
            case '3':
                cout << "-three" << endl;
                break;
            case '4':
                cout << "-four" << endl;
                break;
            case '5':
                cout << "-five" << endl;
                break;
            case '6':
                cout << "-six" << endl;
                break;
            case '7':
                cout << "-seven" << endl;
                break;
            case '8':
                cout << "-eight" << endl;
                break;
            case '9':
                cout << "-nine" << endl;
                break;
            }
        }
        break;
    case '8':
        if (a.length() < 2)
        {
            cout << "eight";
            break;
        }
        else
        {
            cout << "eighty";
            switch (a[1])
            {
            case '1':
                cout << "-one" << endl;
                break;
            case '2':
                cout << "-two" << endl;
                break;
            case '3':
                cout << "-three" << endl;
                break;
            case '4':
                cout << "-four" << endl;
                break;
            case '5':
                cout << "-five" << endl;
                break;
            case '6':
                cout << "-six" << endl;
                break;
            case '7':
                cout << "-seven" << endl;
                break;
            case '8':
                cout << "-eight" << endl;
                break;
            case '9':
                cout << "-nine" << endl;
                break;
            }
        }
        break;
    case '9':
        if (a.length() < 2)
        {
            cout << "nine" << endl;
            break;
        }
        else
        {
            cout << "ninety";
            switch (a[1])
            {
            case '1':
                cout << "-one" << endl;
                break;
            case '2':
                cout << "-two" << endl;
                break;
            case '3':
                cout << "-three" << endl;
                break;
            case '4':
                cout << "-four" << endl;
                break;
            case '5':
                cout << "-five" << endl;
                break;
            case '6':
                cout << "-six" << endl;
                break;
            case '7':
                cout << "-seven" << endl;
                break;
            case '8':
                cout << "-eight" << endl;
                break;
            case '9':
                cout << "-nine" << endl;
                break;
            }
        }
        break;
    case '0':
        cout << "zero" << endl;
        break;
    }
}

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

#include <iostream>

int main()
{
    int s, r, d;
    std::cin >> s;
    r = s % 10;
    d = s - r;

    switch (d)
    {
    case 0:
        std::cout << ""; break;
    case 10:
        std::cout << ""; break;
    case 20:
        std::cout << "twenty"; break;
    case 30:
        std::cout << "thirty"; break;
    case 40:
        std::cout << "forty"; break;
    case 50:
        std::cout << "fifty"; break;
    case 60:
        std::cout << "sixty"; break;
    case 70:
        std::cout << "seventy"; break;
    case 80:
        std::cout << "eighty"; break;
    case 90:
        std::cout << "ninety"; break;
    default:
        break;
    }

    if (d == 10)
    {
        switch (r)
        {
        case 0:
            std::cout << "ten"; break;
        case 1:
            std::cout << "eleven"; break;
        case 2:
            std::cout << "twelve"; break;
        case 3:
            std::cout << "thirteen"; break;
        case 4:
            std::cout << "fourteen"; break;
        case 5:
            std::cout << "fifteen"; break;
        case 6:
            std::cout << "sixteen"; break;
        case 7:
            std::cout << "seventeen"; break;
        case 8:
            std::cout << "eighteen"; break;
        case 9:
            std::cout << "nineteen"; break;
        default:
            break;
        }
    }
    else
    {
        if (d > 10)
        {
            switch (r)
            {
            case 1:
                std::cout << "-one"; break;
            case 2:
                std::cout << "-two"; break;
            case 3:
                std::cout << "-three"; break;
            case 4:
                std::cout << "-four"; break;
            case 5:
                std::cout << "-five"; break;
            case 6:
                std::cout << "-six"; break;
            case 7:
                std::cout << "-seven"; break;
            case 8:
                std::cout << "-eight"; break;
            case 9:
                std::cout << "-nine"; break;
            default:
                break;
            }
        }
        else
        {
            switch (r)
            {
            case 0:
                std::cout << "zero"; break;
            case 1:
                std::cout << "one"; break;
            case 2:
                std::cout << "two"; break;
            case 3:
                std::cout << "three"; break;
            case 4:
                std::cout << "four"; break;
            case 5:
                std::cout << "five"; break;
            case 6:
                std::cout << "six"; break;
            case 7:
                std::cout << "seven"; break;
            case 8:
                std::cout << "eight"; break;
            case 9:
                std::cout << "nine"; break;
            default:
                break;
            }
        }
    }
}

#include <iostream>
#include <string>
#include <cstring>

using namespace std;

int main()
{
    string dich;
    cin >> dich;
    if(dich == "0"){
        cout << "zero" << endl;
        return 0;
    }
    if(dich == "1"){
        cout << "one" << endl;
        return 0;
    }
    if(dich == "2"){
        cout << "two" << endl;
        return 0;
    }
    if(dich == "3"){
        cout << "three" << endl;
        return 0;
    }
    if(dich == "4"){
        cout << "four" << endl;
        return 0;
    }
    if(dich == "5"){
        cout << "five" << endl;
        return 0;
    }
    if(dich == "6"){
        cout << "six" << endl;
        return 0;
    }
    if(dich == "7"){
        cout << "seven" << endl;
        return 0;
    }
    if(dich == "8"){
        cout << "eight" << endl;
        return 0;
    }
    if(dich == "9"){
        cout << "nine" << endl;
        return 0;
    }
    if(dich == "10"){
        cout << "ten" << endl;
        return 0;
    }
    if(dich == "11"){
        cout << "eleven" << endl;
        return 0;
    }
    if(dich == "12"){
        cout << "twelve" << endl;
        return 0;
    }
    if(dich == "13"){
        cout << "thirteen" << endl;
        return 0;
    }
    if(dich == "14"){
        cout << "fourteen" << endl;
        return 0;
    }
    if(dich == "15"){
        cout << "fifteen" << endl;
        return 0;
    }
    if(dich == "16"){
        cout << "sixteen" << endl;
        return 0;
    }
    if(dich == "17"){
        cout << "seventeen" << endl;
        return 0;
    }
    if(dich == "18"){
        cout << "eighteen" << endl;
        return 0;
    }
    if(dich == "19"){
        cout << "nineteen" << endl;
        return 0;
    }
    if(dich.size() == 2){
        if(dich[0] == '2'){
            cout << "twenty";
        }
        if(dich[0] == '3'){
            cout << "thirty" ;
        }
        if(dich[0] == '4'){
            cout << "forty" ;
        }
        if(dich[0] == '5'){
            cout << "fifty" ;
        }
        if(dich[0] == '6'){
            cout << "sixty" ;
        }
        if(dich[0] == '7'){
            cout << "seventy" ;
        }
        if(dich[0] == '8'){
            cout << "eighty" ;
        }
        if(dich[0] == '9'){
            cout << "ninety" ;
        }
        if(dich[1] == '1'){
            cout << "-one" << endl;
        }
        if(dich[1] == '2'){
            cout << "-two" << endl;
        }
        if(dich[1] == '3'){
            cout << "-three" << endl;
        }
        if(dich[1] == '4'){
            cout << "-four" << endl;
        }
        if(dich[1] == '5'){
            cout << "-five" << endl;
        }
        if(dich[1] == '6'){
            cout << "-six" << endl;
        }
        if(dich[1] == '7'){
            cout << "-seven" << endl;
        }
        if(dich[1] == '8'){
            cout << "-eight" << endl;
        }
        if(dich[1] == '9'){
            cout << "-nine" << endl;
        }

    }

}

#include <stdio.h>
char lowstr[20][10]={	"zero","one","two","three","four","five","six","seven","eight","nine",
	"ten","eleven","twelve","thirteen","fourteen","fifteen","sixteen","seventeen","eighteen","nineteen"};
char highstr[10][10]={"","","twenty","thirty","forty","fifty","sixty","seventy","eighty","ninety"};
int n;
int run()
{
	if(scanf("%d",&n)==EOF)return 0;
	if(n==0)printf("%s",lowstr[0]);
	else if(n/10!=1)
	{
		if(n%10)
		{
			if(n/10==0)printf("%s",lowstr[n%10]);
			else printf("%s-%s",highstr[n/10],lowstr[n%10]);
		}
		else printf("%s",highstr[n/10]);
	}
	else if(printf("%s",lowstr[n]));
	printf("\n");
	return 1;
}
int main()
{
	while(run());
	return 0;
}

#include <bits/stdc++.h>
using namespace std;
#define ll long long
typedef pair<int, int> pi;
typedef vector<int> vi;
typedef vector<vector<int>> vvi;
typedef vector<pi> vpi;
#define EPS 1e-9
#define PI 3.1415926535897932384626433832795
#define pb push_back
#define mp make_pair
#define all(v) v.begin(),v.end()
#define mem(a,b) memset(a,b,sizeof a)
#define sz(v) ((int)((v).size()))
#define minn(a, b, c) min(min(a, b), c)
#define maxx(a, b, c) max(max(a, b), c)and
int dx[] = { 1, 1, 0, -1, -1, -1, 0, 1 };
int dy[] = { 0, 1, 1, 1, 0, -1, -1, -1 };
int di[] = { 1, -1, 0, 0 };
int dj[] = { 0, 0, 1, -1 };
void file() {
#ifndef ONLINE_JUDGE
	freopen("in.txt", "r", stdin);
	//freopen("out.txt", "w", stdout);
#else
	// online submission
	//freopen("sets.in", "r", stdin);
#endif
}
//\/\/\/\/\/\/\/\/\/\/\/\/\/\//\/\/\/\//\/\/\/\/\/\/\/\/\/\/

int main() {
	file();
	int n;
	string num[11] = { "zero", "one", "two", "three", "four", "five", "six",
			"seven", "eight", "nine", "ten" };
	string numt[11] = { "eleven", "twelve", "thirteen", "fourteen", "fifteen",
			"sixteen", "seventeen", "eighteen", "nineteen" };
	string nums[11] = { "twenty", "thirty", "forty", "fifty", "sixty",
			"seventy", "eighty", "ninety" };
	scanf("%d", &n);
	if (n <= 10) {
		cout << num[n];
	} else {
		int s = n % 10;
		n /= 10;

		if (s == 0) {
			cout << nums[n - 2];
			return 0;
		} else if (n == 1) {
			cout << numt[s - 1];
			return 0;
		}
		n -= 2;
		cout << nums[n] << "-" << num[s];
	}
}

#include<iostream>
using namespace std;
void expand(int);
int main()
{
    int num;
    cin>>num;
    expand(num);
}
void expand(int value)
{
    const char * const ones[20] = {"zero", "one", "two", "three","four","five","six","seven",
    "eight","nine","ten","eleven","twelve","thirteen","fourteen","fifteen","sixteen","seventeen",
    "eighteen","nineteen"};
    const char * const tens[10] = {"", "ten", "twenty", "thirty","forty","fifty","sixty","seventy",
    "eighty","ninety"};
    if(value >= 20)
    {
        cout << tens[value / 10];
        if(value % 10)
        {
            cout << "-";
            expand(value % 10);
        }
    }
    else
    {
        cout<<ones[value];
    }
    return;
}

#include <bits/stdc++.h>
using namespace std;
#define lp(i,a,b) for(int i=a;i<b;i++)
#define lpi(i,a,b) for(int i=a;i>=b;i--)
int main() {
	int n;cin>>n;
	string s[]={"zero","one","two","three","four","five","six","seven","eight","nine","ten"};
	string ss[]={"zero","ten","twenty","thirty","forty","fifty","sixty","seventy","eighty","ninety"};
	string sss[]={"eleven","twelve","thirteen","fourteen","fifteen","sixteen","seventeen","eighteen","nineteen"};
	if(n%10==0){cout<<ss[(n/10)];}
	else if(n<=9){
		cout<<s[n];
	}
	else if(n<=19){
		cout<<sss[n-11];
	}
	else {
		cout<<ss[n/10]<<"-"<<s[n%10];
	}
	cout<<endl;
	return 0;
}

#include<bits/stdc++.h>
using namespace std;
int main()
    {
        // In this problem we need to make a program that converts the given input decimal number into its word form
        // Example :- "9" into "nine", "66" into "sixty-six", "99" into "ninety-nine"
        // Constraints of the problem:- 1) the input number should be between 0 and 99 and 2) all the word formation which needs to be done should be in lower case alphabetical form
        // 3) If the length of the digit of a number is two then its word form contains two words seprated by the hyphen("-") except for "10" that you might have guessed is "ten"

        int n,i,j;// n is for the input number, i and j is for looping the for or while loop
        string s;
        cin>>n; // Input of the number is stored in n
        int c=0; // a variable c is for counting the length of the digits a number "n" has
        int m=n; // variable m which carry the copy of number "n"
        vector<int> digi; // a vector of integers basically for storing all the digits a number has

        while(n!=0) // A simple algorithm used for determining all the digits the number "n" has
        {
            digi.push_back(n%10);
            n/=10;
            c++;
        }

        // Now as the variable "n" gets exhausted in counting the digits the number has and for storing purpose , we can now use m in place of n (thats why we created the copy)

        // Creating three Vector of strings which basically forms a data our program is going to act upon

        // For integers 1-9 basically we have created a vector "one"  which tells the  what words are going to have for which one digit number

        vector<string> one={"one","two","three","four","five","six","seven","eight","nine"};

        //Similarly for integers between 11-19 I have created another vector for strings to store there values named as "sone"(a two digit number starting with one)

        vector <string> sone={"ten","eleven","twelve","thirteen","fourteen","fifteen","sixteen","seventeen","eighteen","nineteen"};

        // And A vector named "two" which stores basically not every number between 20-99 but the required ten's digit value (as 20-29 ten digit is always going to be "twenty")

        vector<string> two={"twenty","thirty","forty","fifty","sixty","seventy","eighty","ninety"};

        // Now we have made all our assumptions ready for code

        if(c==1 || c==0) // if the count of the digits is 0 or 1 please note here - for the number n is "0" the c will also be 0 please refer to the code above
        {
            if(m==0) cout<<"zero"<<endl; // if m is "0" we say it is simply a "zero" number
            else cout<<one[m-1]<<endl; // otherwise we do one[m-1] because index is basically starts with a zero
        }
        else
        {
            reverse(digi.begin(),digi.end()); // reversing just because digits are stored in reverse order initially
            if(digi[0]==1)
            {
                cout<<sone[digi[1]]<<endl; // in this case we are more focussed for the number between 10-19 and simply indexing it
            }
            else
            {
                if(digi[1]!=0) // if Ones digit is not "0"
                {                cout<<two[digi[0]-2]<<"-"; // Here in this case we are doing "-2" the given number just for indexing it with the "two" vector because it doesn't have "one" and  "ten" in the beginning
                                 cout<<one[digi[1]-1]<<endl;
                }
                else
                {
                    cout<<two[digi[0]-2]<<endl; // if the ones digit is 0 we simply output the two's string
                }

            }

        }

    }

#include <bits/stdc++.h>

int n;

int main()
{
    std::string o[10] = {"zero", "one", "two", "three", "four",
                    "five", "six", "seven", "eight", "nine"};
    std::string d[10] = {"ten", "eleven", "twelve", "thirteen", "fourteen",
                    "fifteen", "sixteen", "seventeen", "eighteen", "nineteen"};
    std::string t[10] = {"", "", "twenty", "thirty", "forty",
                    "fifty", "sixty", "seventy", "eighty", "ninety"};
    std::cin >> n;

    if (n < 10)
        std::cout << o[n];
    else if (n >= 10 and n < 20)
        std::cout << d[n - 10];
    else if (n % 10 == 0)
        std::cout << t[n / 10];
    else
        std::cout << t[n / 10] << "-" << o[n % 10];
    return 0;
}

#include<stdio.h>
#include<bits/stdc++.h>
using namespace std;
main(){
int i,j,k=0,s=0,c=0,arr[10000],var[10000],l,n,m,p,q,ind1=0,ind2=0,mx,mn,a,b,y,z,ne[1000],row,col,out=0 ;
string x;
///char x[1000];
 cin>>n;

 switch(n){
     case 0:
     cout<<"zero"<<endl;
     break;
 case 1:
     cout<<"one"<<endl;
     break;
     case 2:
     cout<<"two"<<endl;
     break;
     case 3:
     cout<<"three"<<endl;
     break;
     case 4:
     cout<<"four"<<endl;
     break;
     case 5:
     cout<<"five"<<endl;
     break;
     case 6:
     cout<<"six"<<endl;
     break;
     case 7:
     cout<<"seven"<<endl;
     break;
     case 8:
     cout<<"eight"<<endl;
     break;
      case 9:
     cout<<"nine"<<endl;
     break;
     case 10:
     cout<<"ten"<<endl;
     break;
     case 11:
     cout<<"eleven"<<endl;
     break;
     case 12:
     cout<<"twelve"<<endl;
     break;
     case 13:
     cout<<"	thirteen"<<endl;
     break;
     case 14:
     cout<<"fourteen"<<endl;
     break;
     case 15:
     cout<<"fifteen"<<endl;
     break;
     case 16:
     cout<<"sixteen"<<endl;
     break;
      case 17:
     cout<<"seventeen"<<endl;
     break;
     case 18:
     cout<<"eighteen"<<endl;
     break;
     case 19:
     cout<<"nineteen"<<endl;
     break;
     case 20:
     cout<<"twenty"<<endl;
     break;

     case 21:
     cout<<"twenty-one"<<endl;
     break;
     case 22:
     cout<<"twenty-two"<<endl;
     break;
     case 23:
     cout<<"twenty-three"<<endl;
     break;
     case 24:
     cout<<"twenty-four"<<endl;
     break;
     case 25:
     cout<<"twenty-five"<<endl;
     break;
     case 26:
     cout<<"twenty-six"<<endl;
     break;
     case 27:
     cout<<"twenty-seven"<<endl;
     break;
     case 28:
     cout<<"twenty-eight"<<endl;
     break;
      case 29:
     cout<<"twenty-nine"<<endl;
     break;
     case 30:
     cout<<"thirty"<<endl;
     break;

     case 31:
     cout<<"thirty-one"<<endl;
     break;
     case 32:
     cout<<"thirty-two"<<endl;
     break;
     case 33:
     cout<<"thirty-three"<<endl;
     break;
     case 34:
     cout<<"thirty-four"<<endl;
     break;
     case 35:
     cout<<"thirty-five"<<endl;
     break;
     case 36:
     cout<<"thirty-six"<<endl;
     break;
     case 37:
     cout<<"thirty-seven"<<endl;
     break;
     case 38:
     cout<<"thirty-eight"<<endl;
     break;
      case 39:
     cout<<"thirty-nine"<<endl;
     break;
     case 40:
     cout<<"forty"<<endl;
     break;

     case 41:
     cout<<"forty-one"<<endl;
     break;
     case 42:
     cout<<"forty-two"<<endl;
     break;
     case 43:
     cout<<"forty-three"<<endl;
     break;
     case 44:
     cout<<"forty-four"<<endl;
     break;
     case 45:
     cout<<"forty-five"<<endl;
     break;
     case 46:
     cout<<"forty-six"<<endl;
     break;
     case 47:
     cout<<"forty-seven"<<endl;
     break;
     case 48:
     cout<<"forty-eight"<<endl;
     break;
      case 49:
     cout<<"forty-nine"<<endl;
     break;
     case 50:
     cout<<"fifty"<<endl;
     break;
     case 51:
     cout<<"fifty-one"<<endl;
     break;
     case 52:
     cout<<"fifty-two"<<endl;
     break;
     case 53:
     cout<<"fifty-three"<<endl;
     break;
     case 54:
     cout<<"fifty-four"<<endl;
     break;
     case 55:
     cout<<"fifty-five"<<endl;
     break;
     case 56:
     cout<<"fifty-six"<<endl;
     break;
     case 57:
     cout<<"fifty-seven"<<endl;
     break;
     case 58:
     cout<<"fifty-eight"<<endl;
     break;
      case 59:
     cout<<"fifty-nine"<<endl;
     break;
     case 60:
     cout<<"sixty"<<endl;
     break;

  case 61:
     cout<<"sixty-one"<<endl;
     break;
     case 62:
     cout<<"sixty-two"<<endl;
     break;
     case 63:
     cout<<"sixty-three"<<endl;
     break;
     case 64:
     cout<<"sixty-four"<<endl;
     break;
     case 65:
     cout<<"sixty-five"<<endl;
     break;
     case 66:
     cout<<"sixty-six"<<endl;
     break;
     case 67:
     cout<<"sixty-seven"<<endl;
     break;
     case 68:
     cout<<"sixty-eight"<<endl;
     break;
      case 69:
     cout<<"vnine"<<endl;
     break;
     case 70:
     cout<<"seventy"<<endl;
     break;

     case 71:
     cout<<"seventy-one"<<endl;
     break;
     case 72:
     cout<<"seventy-two"<<endl;
     break;
     case 73:
     cout<<"seventy-three"<<endl;
     break;
     case 74:
     cout<<"seventy-four"<<endl;
     break;
     case 75:
     cout<<"seventy-five"<<endl;
     break;
     case 76:
     cout<<"seventy-six"<<endl;
     break;
     case 77:
     cout<<"seventy-seven"<<endl;
     break;
     case 78:
     cout<<"seventy-eight"<<endl;
     break;
      case 79:
     cout<<"seventy-nine"<<endl;
     break;
     case 80:
     cout<<"eighty"<<endl;
     break;

     case 81:
     cout<<"eighty-one"<<endl;
     break;
     case 82:
     cout<<"eighty-two"<<endl;
     break;
     case 83:
     cout<<"eighty-three"<<endl;
     break;
     case 84:
     cout<<"eighty-four"<<endl;
     break;
     case 85:
     cout<<"eighty-five"<<endl;
     break;
     case 86:
     cout<<"eighty-six"<<endl;
     break;
     case 87:
     cout<<"eighty-seven"<<endl;
     break;
     case 88:
     cout<<"eighty-eight"<<endl;
     break;
      case 89:
     cout<<"eighty-nine"<<endl;
     break;
     case 90:
     cout<<"ninety"<<endl;
     break;

     case 91:
     cout<<"ninety-one"<<endl;
     break;
     case 92:
     cout<<"ninety-two"<<endl;
     break;
     case 93:
     cout<<"ninety-three"<<endl;
     break;
     case 94:
     cout<<"ninety-four"<<endl;
     break;
     case 95:
     cout<<"ninety-five"<<endl;
     break;
     case 96:
     cout<<"ninety-six"<<endl;
     break;
     case 97:
     cout<<"ninety-seven"<<endl;
     break;
     case 98:
     cout<<"ninety-eight"<<endl;
     break;
      case 99:
     cout<<"ninety-nine"<<endl;
     break;

 }

}

#include<iostream>
#include<bits/stdc++.h>
#include<cstdlib>
#include<cstdio>
#include<cmath>
#include<iomanip>
#include<algorithm>
#include<vector>
#include<map>
#include<cstring>

using namespace std;
int main(){
int n,x;
cin>>n;
string a[20]={"one","two","three","four","five","six","seven","eight","nine","ten","eleven","tweleve","thirteen","fourteen","fifteen","sixteen","seventeen","eighteen","nineteen","twenty"};
string b[9]={" ","twenty","thirty","fourty","fifty","sixty","seventy","eighty","ninety"};
if(n<=20){
	cout<<a[n-1];
}
else if(n%10==0){
	n=n/10;
	cout<<b[n-1];
}
else{
	x=n%10;
	n=n/10;
	cout<<b[n-1]<<"-"<<a[n-1];
}
	return 0;
}

#include <iostream>

using namespace std;

int main()
{
    int s ;
    cin >> s ;
    if(s==0)
        cout << "zero" << endl;
    else if(s==1)
        cout << "one" << endl;
    else if(s==2)
        cout << "two" << endl;
    else if(s==3)
        cout << "three" << endl;
    else if(s==4)
        cout << "four" << endl;
    else if(s==5)
        cout << "five" << endl;
    else if(s==6)
        cout << "six" << endl;
    else if(s==7)
        cout << "seven" << endl;
    else if(s==8)
        cout << "eight" << endl;
    else if(s==9)
        cout << "nine" << endl;
    else if(s==10)
        cout << "ten" << endl;
    else if(s==11)
        cout << "eleven" << endl;
    else if(s==12)
        cout << "twelve" << endl;
    else if(s==13)
        cout << "thirteen" << endl;
    else if(s==14)
        cout << "fourteen" << endl;
    else if(s==15)
        cout << "fifteen" << endl;
    else if(s==16)
        cout << "sixteen" << endl;
    else if(s==17)
        cout << "seventeen" << endl;
    else if(s==18)
        cout << "eighteen" << endl;
    else if(s==19)
        cout << "nineteen" << endl;
    else if(s==20)
        cout << "twenty" << endl;
    else if(s==21)
        cout << "twenty-one" << endl;
    else if(s==22)
        cout << "twenty-two" << endl;
    else if(s==23)
        cout << "twenty-three" << endl;
    else if(s==24)
        cout << "twenty-four" << endl;
    else if(s==25)
        cout << "twenty-five" << endl;
    else if(s==26)
        cout << "twenty-six" << endl;
    else if(s==27)
        cout << "twenty-seven" << endl;
    else if(s==28)
        cout << "twenty-eight" << endl;
    else if(s==29)
        cout << "twenty-nine" << endl;
    else if(s==30)
        cout << "thirty" << endl;
    else if(s==31)
        cout << "thirty-one" << endl;
    else if(s==32)
        cout << "thirty-two" << endl;
    else if(s==33)
        cout << "thirty-three" << endl;
    else if(s==34)
        cout << "thirty-four" << endl;
    else if(s==35)
        cout << "thirty-five" << endl;
    else if(s==36)
        cout << "thirty-six" << endl;
    else if(s==37)
        cout << "thirty-seven" << endl;
    else if(s==38)
        cout << "thirty-eight" << endl;
    else if(s==39)
        cout << "thirty-nine" << endl;
    else if(s==40)
        cout << "forty" << endl;
    else if(s==41)
        cout << "forty-one" << endl;
    else if(s==42)
        cout << "forty-two" << endl;
    else if(s==43)
        cout << "forty-three" << endl;
    else if(s==44)
        cout << "forty-four" << endl;
    else if(s==45)
        cout << "forty-five" << endl;
    else if(s==46)
        cout << "forty-six" << endl;
    else if(s==47)
        cout << "forty-seven" << endl;
    else if(s==48)
        cout << "forty-eight" << endl;
    else if(s==49)
        cout << "forty-nine" << endl;
    else if(s==50)
        cout << "fifty" << endl;
    else if(s==51)
        cout << "fifty-one" << endl;
    else if(s==52)
        cout << "fifty-two" << endl;
    else if(s==53)
        cout << "fifty-three" << endl;
    else if(s==54)
        cout << "fifty-four" << endl;
    else if(s==55)
        cout << "fifty-five" << endl;
    else if(s==56)
        cout << "fifty-six" << endl;
    else if(s==57)
        cout << "fifty-seven" << endl;
    else if(s==58)
        cout << "fifty-eight" << endl;
    else if(s==59)
        cout << "fifty-nine" << endl;
    else if(s==60)
        cout << "sixty" << endl;
    else if(s==61)
        cout << "sixty-one" << endl;
    else if(s==62)
        cout << "sixty-two" << endl;
    else if(s==63)
        cout << "sixty-three" << endl;
    else if(s==64)
        cout << "sixty-four" << endl;
    else if(s==65)
        cout << "sixty-five" << endl;
    else if(s==66)
        cout << "sixty-six" << endl;
    else if(s==67)
        cout << "sixty-seven" << endl;
    else if(s==68)
        cout << "sixty-eight" << endl;
    else if(s==69)
        cout << "sixty-nine" << endl;
    else if(s==70)
        cout << "seventy" << endl;
    else if(s==71)
        cout << "seventy-one" << endl;
    else if(s==72)
        cout << "seventy-two" << endl;
    else if(s==73)
        cout << "seventy-three" << endl;
    else if(s==74)
        cout << "seventy-four" << endl;
    else if(s==75)
        cout << "seventy-five" << endl;
    else if(s==76)
        cout << "seventy-six" << endl;
    else if(s==77)
        cout << "seventy-seven" << endl;
    else if(s==78)
        cout << "seventy-eight" << endl;
    else if(s==79)
        cout << "seventy-nine" << endl;
    else if(s==80)
        cout << "eighty" << endl;
    else if(s==81)
        cout << "eighty-one" << endl;
    else if(s==82)
        cout << "eight-two" << endl;
    else if(s==83)
        cout << "eighty-three" << endl;
    else if(s==84)
        cout << "eighty-four" << endl;
    else if(s==85)
        cout << "eighty-five" << endl;
    else if(s==86)
        cout << "eighty-six" << endl;
    else if(s==87)
        cout << "eighty-seven" << endl;
    else if(s==88)
        cout << "eighty-eight" << endl;
    else if(s==89)
        cout << "eighty-nine" << endl;
    else if(s==90)
        cout << "ninety" << endl;
    else if(s==91)
        cout << "ninety-one" << endl;
    else if(s==92)
        cout << "ninety-two" << endl;
    else if(s==93)
        cout << "ninety-three" << endl;
    else if(s==94)
        cout << "ninety-four" << endl;
    else if(s==95)
        cout << "ninety-five" << endl;
    else if(s==96)
        cout << "ninety-six" << endl;
    else if(s==97)
        cout << "ninety-seven" << endl;
    else if(s==98)
        cout << "ninety-eight" << endl;
    else if(s==99)
        cout << "ninety-nine" << endl;
    return 0;
}

#include<iostream>

using namespace std;

string bteen(int n){
	if(n==2)
		return "twen";
	else if(n==3)
		return "thir";
	else if(n==4)
		return "four";
	else if(n==5)
		return "fif";
	else if(n==6)
		return "six";
	else if(n==7)
		return "seven";
	else if(n==8)
		return "eight";
	else if(n==9)
		return "nine";
}

string tens(int n){
	if(n==2)
		return "twenty";
	else if(n==3)
		return "thirty";
	else if(n==4)
		return "forty";
	else if(n==5)
		return "fifty";
	else if(n==6)
		return "sixty";
	else if(n==7)
		return "seventy";
	else if(n==8)
		return "eighty";
	else if(n==9)
		return "ninety";
}

string units(int n){
	if(n==0)
		return "zero";
	else if(n==1)
		return "one";
	else if(n==2)
		return "two";
	else if(n==3)
		return "three";
	else if(n==4)
		return "four";
	else if(n==5)
		return "five";
	else if(n==6)
		return "six";
	else if(n==7)
		return "seven";
	else if(n==8)
		return "eight";
	else if(n==9)
		return "nine";
	else if(n==10)
		return "ten";
	else if(n==11)
		return "eleven";
	else if(n==12)
		return "twelve";
}

int main(void){
	int n;cin>>n;
	if(n<=12){
		cout<<units(n);
		return 0;
	}
	if(n<20){
		cout<<bteen(n%10)<<"teen";
		return 0;
	}
	if(n%10==0){
		cout<<tens(n/10);
		return 0;
	}
	cout<<tens(n/10)<<'-'<<units(n%10);
	return 0;
}

#include <iostream>
#include <fstream>
#include <sstream>
#include <cstdio>
#include <cstdlib>
#include <vector>
#include <string>
#include <cstring>
#include <map>
#include <cmath>
#include <iomanip>
#include <algorithm>
using namespace std;

typedef long long int lli;

int main(){
    string s;
    cin >> s;
    if (s.length()==2){
        if (s[0]=='2'){
            cout << "twenty";
        }
        if (s[0]=='3'){
            cout << "thirty";
        }
        if (s[0]=='4'){
            cout << "forty";
        }
        if (s[0]=='5'){
            cout << "fifty";
        }
        if (s[0]=='6'){
            cout << "sixty";
        }
        if (s[0]=='7'){
            cout << "seventy";
        }
        if (s[0]=='8'){
            cout << "eighty";
        }
        if (s[0]=='9'){
            cout << "ninty";
        }
        if (s=="10")cout << "10";
        if (s=="11"){
            cout << "eleven";
        }
        if (s=="12"){
            cout << "twelve";
        }
        if (s=="13"){
            cout << "thirteen";
        }
        if (s=="14"){
            cout << "fourteen";
        }
        if (s=="15"){
            cout << "fifteen";
        }
        if (s=="16"){
            cout << "sixteen";
        }
        if (s=="17"){
            cout << "seventeen";
        }
        if (s=="18"){
            cout << "eighteen";
        }
        if (s=="19"){
            cout << "nineteen";
        }
    }
        if (s.length()==2 && s[1]!=0){
            if (s[1]=='1'){
                cout << "-one";
            }
            if (s[1]=='2'){
                cout << "-two";
            }
            if (s[1]=='3'){
                cout << "-three";
            }
            if (s[1]=='4'){
                cout << "-four";
            }
            if (s[1]=='5'){
                cout << "-five";
            }
            if (s[1]=='6'){
                cout << "-six";
            }
            if (s[1]=='7'){
                cout << "-seven";
            }
            if (s[1]=='8'){
                cout << "-eight";
            }
            if (s[1]=='9'){
                cout << "-nine";
            }
        }
        if (s.length()==1) {
            if (s[0]=='0'){
                cout << "zero";
            }
            if (s[0]=='1'){
                cout << "one";
            }
            if (s[0]=='2'){
                cout << "two";
            }
            if (s[0]=='3'){
                cout << "three";
            }
            if (s[0]=='4'){
                cout << "four";
            }
            if (s[0]=='5'){
                cout << "five";
            }
            if (s[0]=='6'){
                cout << "six";
            }
            if (s[0]=='7'){
                cout << "seven";
            }
            if (s[0]=='8'){
                cout << "eight";
            }
            if (s[0]=='9'){
                cout << "nine";
            }
        }

}

#include <iostream>

using namespace std;

int main()
{
string s[9]={"eleven","twelve","thirteen","fourteen","fifteen","sixteen","seventeen","eighteen","nineteen"};
int x,y=-1;
cin>>x;
if(x<19&&x>10)
{
for(int i=11;i<20;i++)
    {
    y++;
    if(x==i)
        cout<<s[y];
    }
}
if(x>19)
{
if(x==20)
    cout<<"twenty";
else
switch(x/10)
{
case 2:cout<<"twenty-";break;case 3:cout<<"thirty-";break;case 4:cout<<"forty-";break;
case 5:cout<<"fifty-";break;case 6:cout<<"sixty-";break;case 7:cout<<"seventy-";break;
case 8:cout<<"eighty-";break;case 9:cout<<"ninety-";break;
}
if(x%10==0)
    x=x;
else
    x%=10;
}
if(x==10)
    cout<<"ten";
if(x<10)
{
switch(x)
{
case 0:cout<<"zero";break;
case 1:cout<<"one";break;case 2:cout<<"two";break;
case 3:cout<<"three";break;case 4:cout<<"four";break;
case 5:cout<<"five";break;case 6:cout<<"six";break;
case 7:cout<<"seven";break;case 8:cout<<"eight";break;
case 9:cout<<"nine";break;
}
}
    return 0;
}

#include<iostream>
using namespace std;
void bab( int input)
{
    switch(input)
    {
    case 0:
        cout<<"zero";
        break;
    case 1:
        cout<<"one";
    case 2:
        cout<<"two";
        break;
    case 3:
        cout<<"three";
        break;
    case 4:
        cout<<"four";
        break;
    case 5:
        cout<<"five";
        break;
    case 6:
        cout<<"six";
        break;
    case 7:
        cout<<"seven";
        break;
    case 8:
        cout<<"eight";
        break;
    case 9:
        cout<<"nine";
        break;
    }
}
int main()
{
    int input, x;
    cin>>input;
    if(input>=10)
    {

        x=input/10;
        switch(x)
        {case 1:
        switch(input)
        {
        case 10:
            cout<<"ten";
            break;
        case 11:
            cout<<"eleven";
            break;
        case 12:
            cout<<"twelve";
            break;
        case 13:
            cout<<"thirteen";
            break;
        case 14:
            cout<<"fourteen";
            break;
        case 15:
            cout<<"fifteen";
            break;
        case 16:
            cout<<"sixteen";
            break;
        case 17:
            cout<<"seventeen";
            break;
        case 18:
            cout<<"eighteen";
            break;
        case 19:
            cout<<"nineteen";
            break;
        }
        case 2:
            switch (input)
            {

            case 20:
                cout<<"twenty";
                break;
            case 21:
                cout<<"twenty-one";
                break;
            case 22:
                cout<<"twenty-two";
                break;
            case 23:
                cout<<"twenty-three";
                break;
            case 24:
                cout<<"twenty-four";
                break;
            case 25:
                cout<<"twenty-five";
                break;
            case 26:
                cout<<"twenty-six";
                break;
            case 27:
                cout<<"twenty-seven";
                break;
            case 28:
                cout<<"twenty-eight";
                break;
            case 29:
                cout<<"twenty-nine";
                break;
            }
        case 3:
            switch(input)
            {
            case 30:
                cout<<"thirty";
                break;
            case 31:
                cout<<"thirty-one";
                break;
            case 32:
                cout<<"thirty-two";
                break;
            case 33:
                cout<<"thirty-three";
                break;
            case 34:
                cout<<"thirty-four";
                break;
            case 35:
                cout<<"thirty-five";
                break;
            case 36:
                cout<<"thirty-six";
                break;
            case 37:
                cout<<"thirty-seven";
                break;
            case 38:
                cout<<"thirty-eight";
                break;
            case 39:
                cout<<"thirty-nine";
                break;
            }
        case 4:
            switch(input)
            {
            case 40:

                cout<<"fourty";
                break;
            case 41:
                cout<<"fourty-one";
                break;
            case 42:
                cout<<"fourty-two";
                break;
            case 43:
                cout<<"fourty-three";
                break;
            case 44:
                cout<<"fourty-four";
                break;
            case 45:
                cout<<"fourty-five";
                break;
            case 46:
                cout<<"fourty-six";
                break;
            case 47:
                cout<<"fourty-seven";
                break;
            case 48:
                cout<<"fourty-eight";
                break;
            case 49:
                cout<<"fourty-nine";
                break;
            }
        case 5:
            {
                switch(input)
                {
                case 50:

                    cout<<"fifty";
                    break;
                case 51:
                    cout<<"fifty-one";
                    break;
                case 52:
                    cout<<"fifty-two";
                    break;
                case 53:
                    cout<<"fifty-three";
                    break;
                case 54:
                    cout<<"fifty-four";
                    break;
                case 55:
                    cout<<"fifty-five";
                    break;
                case 56:
                    cout<<"fifty-six";
                    break;
                case 57:
                    cout<<"fifty-seven";
                    break;
                case 58:
                    cout<<"fifty-eight";
                    break;
                case 59:
                    cout<<"fifty-nine";
                    break;
                case 6:
                    {
                        switch(input)
                case 60:
                    cout<<"sixty";
                    break;
                case 61:
                    cout<<"sixty-one";
                    break;
                case 62:
                    cout<<"sixty-two";
                    break;
                case 63:
                    cout<<"sixty-three";
                    break;
                case 64:
                    cout<<"sixty-four";
                    break;
                case 65:
                    cout<<"sixty-five";
                    break;
                case 66:
                    cout<<"sixty-six";
                    break;
                case 67:
                    cout<<"sixty-seven";
                    break;
                case 68:
                    cout<<"sixty-eight";
                    break;
                case 69:
                    cout<<"sixty-nine";
                    break;
                    }
                case 7:
                    {
                        switch(input)
                case 70:
                    cout<<"seventy";
                    break;
                case 71:
                    cout<<"seventy-one";
                    break;
                case 72:
                    cout<<"seventy-two";
                    break;
                case 73:
                    cout<<"seventy-three";
                    break;
                case 74:
                    cout<<"seventy-four";
                    break;
                case 75:
                    cout<<"seventy-five";
                    break;
                case 76:
                    cout<<"seventy-six";
                    break;
                case 77:
                    cout<<"seventy-seven";
                    break;
                case 78:
                    cout<<"seventy-eight";
                    break;
                case 79:
                    cout<<"seventy-nine";
                    break;
                    }
                }
        case 8:
            {switch(input)
        case 80:
            cout<<"eighty";
            break;
        case 81:
            cout<<"eighty-one";
            break;
        case 82:
            cout<<"eighty-two";
            break;
        case 83:
            cout<<"eighty-three";
            break;
        case 84:
            cout<<"eighty-four";
            break;
        case 85:
            cout<<"eighty-five";
            break;
        case 86:
            cout<<"eighty-six";
            break;
        case 87:
            cout<<"eighty-seven";
            break;
        case 88:
            cout<<"eighty-eight";
            break;
        case 89:
            cout<<"eighty-nine";
            break;
            }
            }
        case 9:
            {switch(input)
        case 90:
            cout<<"ninety";
            break;
        case 91:
            cout<<"ninety-one";
            break;
        case 92:
            cout<<"ninety-two";
            break;
        case 93:
            cout<<"ninety-three";
            break;
        case 94:
            cout<<"ninety-four";
            break;
        case 95:
            cout<<"ninety-five";
            break;
        case 96:
            cout<<"ninety-six";
            break;
        case 97:
            cout<<"ninety-seven";
            break;
        case 98:
            cout<<"ninety-eight";
            break;
        case 99:
            cout<<"ninety-nine";
            break;
            }
        default:
            break;
        }
    }
    else
    {
        bab(input);
    }

    return 0;
}

#include <string>
#include <iostream>

using namespace std;

int main()
{
	string map[] {"", "one", "two", "three", "four", "five", "six", "seven", "eight", "nine"
		, "-", "", "twenty", "thrity", "forty", "fifty", "sixty", "seventy", "eighty", "ninety"
		, "eleven", "twelve", "thirteen", "fourteen", "fifteen", "sixteen", "seventeen", "eighteen", "ninteen"};
	string s{ };
	int n;

	cin >> n;

	if( n / 10 == 1 && n % 10 > 0 )
	{
		s += map[n + 9];
	}
	else if( n == 10 )
		s = "ten";  //! FREAKING SERIOUSLY!?

	else
	{
		if( n / 10 != 0 )
		{
			s += map[(n / 10) + 10];
			if( n % 10 != 0 )
				s += map[10];
		}
		s += map[n % 10];
	}

	cout << s;

	return 0;
}

#include<bits/stdc++.h>
#define ll long long
using namespace std;
int main ()
{
    ll x;
    cin>>x;
    switch(x)
    {
    case 0:
    cout<<"zero"<<endl;
    break;
    case 1:
        cout<<"one"<<endl;
    break;
    case 2:
        cout<<"two"<<endl;
    break;
    case 3:
        cout<<"three"<<endl;
    break;
    case 4:
        cout<<"four"<<endl;
    break;
    case 5:
        cout<<"five"<<endl;
    break;
    case 6:
        cout<<"six"<<endl;
    break;
    case 7:
        cout<<"seven"<<endl;
    break;
    case 8:
        cout<<"eight"<<endl;
    break;
    case 9:
        cout<<"nine"<<endl;
    break;
    case 10:
        cout<<"ten"<<endl;
    break;
    case 11:
        cout<<"eleven"<<endl;
    break;
    case 12:
        cout<<"twelve"<<endl;
    break;
    case 13:
        cout<<"thirteen"<<endl;
    break;
    case 14:
        cout<<"fourteen"<<endl;
    break;
    case 15:
        cout<<"fifteen"<<endl;
    break;
    case 16:
        cout<<"sixteen"<<endl;
    break;
    case 17:
        cout<<"seventeen"<<endl;
    break;
    case 18:
        cout<<"eighteen"<<endl;
    break;
    case 19:
        cout<<"nineteen"<<endl;
    break;
    case 20:
        cout<<"twenty"<<endl;
    break;
    case 21:
        cout<<"twenty-one"<<endl;
    break;
    case 22:
        cout<<"twenty-two"<<endl;
    break;
    case 23:
        cout<<"twenty-three"<<endl;
    break;
    case 24:
        cout<<"twenty-four"<<endl;
    break;
    case 25:
        cout<<"twenty-five"<<endl;
    break;
    case 26:
        cout<<"twenty-six"<<endl;
    break;
    case 27:
        cout<<"twenty-seven"<<endl;
    break;
    case 28:
        cout<<"twenty-eight"<<endl;
    break;
    case 29:
        cout<<"twenty-nine"<<endl;
    break;
    case 30:
        cout<<"thirty"<<endl;
    break;
    case 31:
        cout<<"thirty-one"<<endl;
    break;
    case 32:
        cout<<"thirty-two"<<endl;
    break;
    case 33:
        cout<<"thirty-three"<<endl;
    break;
    case 34:
        cout<<"thirty-four"<<endl;
    break;
    case 35:
        cout<<"thirty-five"<<endl;
    break;
    case 36:
        cout<<"thirty-six"<<endl;
    break;
    case 37:
        cout<<"thirty-seven"<<endl;
    break;
    case 38:
        cout<<"thirty-eight"<<endl;
    break;
    case 39:
        cout<<"thirty-nine"<<endl;
    break;
    case 40:
        cout<<"forty"<<endl;
    break;
    case 41:
        cout<<"forty-one"<<endl;
    break;
    case 42:
        cout<<"forty-two"<<endl;
    break;
    case 43:
        cout<<"forty-three"<<endl;
    break;
    case 44:
        cout<<"forty-four"<<endl;
    break;
    case 45:
        cout<<"forty-five"<<endl;
    break;
    case 46:
        cout<<"forty-six"<<endl;
    break;
    case 47:
        cout<<"forty-seven"<<endl;
    break;
    case 48:
        cout<<"forty-eight"<<endl;
    break;
    case 49:
        cout<<"forty-nine"<<endl;
    break;
    case 50:
        cout<<"fifty"<<endl;
    break;
    case 51:
        cout<<"fifty-one"<<endl;
    break;
    case 52:
        cout<<"fifty-two"<<endl;
    break;
    case 53:
        cout<<"fifty-three"<<endl;
    break;
    case 54:
        cout<<"fifty-four"<<endl;
    break;
    case 55:
        cout<<"fifty-five"<<endl;
    break;
    case 56:
        cout<<"fifty-six"<<endl;
    break;
    case 57:
        cout<<"fifty-seven"<<endl;
    break;
    case 58:
        cout<<"fifty-eight"<<endl;
    break;
    case 59:
        cout<<"fifty-nine"<<endl;
    break;
    case 60:
        cout<<"sixty"<<endl;
    break;
    case 61:
        cout<<"sixty-one"<<endl;
    break;
    case 62:
        cout<<"sixty-two"<<endl;
    break;
    case 63:
        cout<<"sixty-three"<<endl;
    break;
    case 64:
        cout<<"sixty-four"<<endl;
    break;
    case 65:
        cout<<"sixty-five"<<endl;
    break;
    case 66:
        cout<<"sixty-six"<<endl;
    break;
    case 67:
        cout<<"sixty-seven"<<endl;
    break;
    case 68:
        cout<<"sixty-eight"<<endl;
    break;
    case 69:
        cout<<"sixty-nine"<<endl;
    break;
    case 70:
        cout<<"seventy"<<endl;
    break;
    case 71:
        cout<<"seventy-one"<<endl;
    break;
    case 72:
        cout<<"seven-two"<<endl;
    break;
    case 73:
        cout<<"seventy-three"<<endl;
    break;
    case 74:
        cout<<"seventy-four"<<endl;
    break;
    case 75:
        cout<<"seventy-five"<<endl;
    break;
    case 76:
        cout<<"seventy-six"<<endl;
    break;
    case 77:
        cout<<"seventy-seven"<<endl;
    break;
    case 78:
        cout<<"seventy-eight"<<endl;
    break;
    case 79:
        cout<<"seventy-nine"<<endl;
    break;
    case 80:
        cout<<"eighty"<<endl;
    break;
    case 81:
        cout<<"eighty-one"<<endl;
    break;
    case 82:
        cout<<"eighty-two"<<endl;
    break;
    case 83:
        cout<<"eighty-three"<<endl;
    break;
    case 84:
        cout<<"eighty-four"<<endl;
    break;
    case 85:
        cout<<"eighty-five"<<endl;
    break;
    case 86:
        cout<<"eighty-six"<<endl;
    break;
    case 87:
        cout<<"eighty-seven"<<endl;
    break;
    case 88:
        cout<<"eighty-eight"<<endl;
    break;
    case 89:
        cout<<"eighty-nine"<<endl;
    break;
    case 90:
        cout<<"ninety"<<endl;
    break;
    case 91:
        cout<<"ninety-one"<<endl;
    break;
    case 92:
        cout<<"ninety-two"<<endl;
    break;
    case 93:
        cout<<"ninety-three"<<endl;
    break;
    case 94:
        cout<<"ninety-four"<<endl;
    break;
    case 95:
        cout<<"ninety-five"<<endl;
    break;
    case 96:
        cout<<"ninety-six"<<endl;
    break;
    case 97:
        cout<<"ninety-seven"<<endl;
    break;
    case 98:
        cout<<"ninety-eight"<<endl;
    break;
    case 99:
        cout<<"ninety-nine"<<endl;
    break;
    case 100:
        cout<<"hundred"<<endl;
    break;
    }
}

//CODED   BY    A_S_R_O_R     ECO   STUDENT

#include<cstdio>
#include<iostream>
using namespace std;
void yekaan(int n)
{
    if(n==1)
    {
        cout<<"one";
    }
    else if(n==2)
    {
        cout<<"two";
    }
    else if(n==3)
    {
        cout<<"three";
    }
    else if(n==4)
    {
        cout<<"four";
    }
    else if(n==5)
    {
        cout<<"five";
    }
    else if(n==6)
    {
        cout<<"six";
    }
    else if(n==7)
    {
        cout<<"seven";
    }
    else if(n==8)
    {
        cout<<"eight";
    }
    else if(n==9)
    {
        cout<<"nine";
    }
}
void dahgaan(int n)
{
    if(n==1)
    {
        cout<<"ten";
    }
    else if(n==2)
    {
        cout<<"twenty";
    }
    else if(n==3)
    {
        cout<<"thirty";
    }
    else if(n==4)
    {
        cout<<"forty";
    }
    else if(n==5)
    {
        cout<<"fifty";
    }
    else if(n==6)
    {
        cout<<"sixty";
    }
    else if(n==7)
    {
        cout<<"seventy";
    }
    else if(n==8)
    {
        cout<<"eighty";
    }
    else if(n==9)
    {
        cout<<"ninety";
    }
}
int main()
{
    string s;
    cin>>s;
    if(s.size()==1)
    {
        yekaan(s[0]-48);
    }
    else if(s.size()==2&&s[1]!='0')
    {
        dahgaan(s[0]-48);
        cout<<"-";
        yekaan(s[1]-48);
    }
    else
    {
        dahgaan(s[0]-48);
    }
}

/*

                Author: Shubham Aggarwal
                Handle: viv_shubham

*/
#include <bits/stdc++.h>
using namespace std;

/** -----BASIC MACROES----- **/
#define pehliFursatMe ios_base::sync_with_stdio(false);cin.tie(NULL);cout.tie(NULL);
#define endl "\n"
#define ll long long int
#define ull unsigned long long
#define ld long double
#define pub push_back
#define puf push_front
#define pob pop_back
#define pof pop_front
#define mmap multimap
#define mset multiset
#define umap unordered_map
#define uset unordered_set
#define ummap unordered_multimap
#define umset unordered_multiset
#define mp make_pair
#define mt make_tuple
#define fi first
#define se second
// #define .b .begin()
// #define .e .end()
// #define .s .size()
// #define .l .length()
#define f(i,a,n) for(ll i=a;i<=n;i++)
#define fd(i,n,a) for(ll i=n;i>0;i--)
#define REcheck cout << "RE here?\n"
#define tracker1(i) cout << "working at " << i << endl;
#define tracker2(i,j) cout << "working at " << i << "-" << j << endl;
#define tracker3(i,j,k) cout << "working at " << i << "-" << j << "-" << k << endl;

const long double PI = 3.14159265358979323846264338327950288419716939937510582097494459230;
const long long MOD = 1000000007;
const long long INF = 1e9;
const long long LINF = 1e18;
const long double EPS = 1e-9;
const long double GOLD = ((1+sqrt(5))/2);
typedef vector<ll> vi;
typedef vector<vector<ll>> vvi;
typedef vector<ld> vd;
typedef vector<vector<ld>> vvd;
typedef vector<string> vs;
typedef vector<char> vc;
typedef vector<bool> vb;
typedef pair<ll, ll> pii;
typedef pair<char, char> pcc;
typedef pair<char, ll> pci;
typedef pair<string, ll> psi;
typedef pair<string, string> pss;
typedef pair<ll, pii> pip;
typedef pair<pii, ll> ppi;

typedef tuple<ll, ll> tii;
typedef tuple<ll, ll, ll> tiii;

typedef vector<pii> vp;
/** -----BIT CONTROLS----- **/
template<class T> int getbit(T s, int i) { return (s >> 1) & 1; }
template<class T> T onbit(T s, int i) { return s | (T(1) << i); }
template<class T> T offbit(T s, int i) { return s & (~(T(1) << i)); }
template<class T> int cntbit(T s) { return __builtin_popcount(s); }

/** -----IDEAS/ALGORITHMS-----

    -------------------------- **/

/** -----EXTENSIVE FUNCTIONS----- **/

/** -----COMPULSORY FUNCTIONS----- **/

int solve(){
    pehliFursatMe
    int n;
    cin>>n;
    vector<string>pehli,dusri;
    pehli.pub("zero");
    pehli.pub("one");
    pehli.pub("two");
    pehli.pub("three");
    pehli.pub("four");
    pehli.pub("five");
    pehli.pub("six");
    pehli.pub("seven");
    pehli.pub("eight");
    pehli.pub("nine");
    pehli.pub("ten");
    pehli.pub("elevan");
    pehli.pub("twelve");
    pehli.pub("thirteen");
    pehli.pub("fourteen");
    pehli.pub("fifteen");
    pehli.pub("sixteen");
    pehli.pub("seventeen");
    pehli.pub("eighteen");
    pehli.pub("nineteen");

    dusri.pub("twenty");
    dusri.pub("thirty");
    dusri.pub("forty");
    dusri.pub("fifty");
    dusri.pub("sixty");
    dusri.pub("seventy");
    dusri.pub("eighty");
    dusri.pub("ninety");
    if(n<20){
        cout<<pehli[n];
        return 0;
    }
    int k=n;
    k=k/10;
    cout<<dusri[k-2];
    int l=n%10;
    if(l==0){
        return 0;
    }
    cout<<"-"<<pehli[l];

    return 0;
}

/** -----MAIN FUNCTION----- **/

int main(){
    //freopen("FILE.INP", "r", stdin);
 	//freopen("FILE.OUT", "w", stdout);
    pehliFursatMe
    int t=1;
    //cin>>t;
    while(t--)solve();
    return 0;
}

#include<cstdio>
#include<iostream>
#include<cmath>
#include<cstring>
#include<algorithm>
#include<string>
#include<vector>
#include<map>
#include<set>
#include<stack>
#include<queue>
#include<ctime>
#include<cstdlib>
#include<iomanip>
#include<utility>
#define pb push_back
#define mp make_pair
#define CLR(x) memset(x,0,sizeof(x))
#define _CLR(x) memset(x,-1,sizeof(x))
#define REP(i,n) for(int i=0;i<n;i++)
#define Debug(x) cout<<#x<<"="<<x<<" "<<endl
#define REP(i,l,r) for(int i=l;i<=r;i++)
#define rep(i,l,r) for(int i=l;i<r;i++)
#define RREP(i,l,r) for(int i=l;i>=r;i--)
#define rrep(i,l,r) for(int i=l;i>r;i--)
#define read(x) scanf("%d",&x)
#define put(x) printf("%d\n",x)
#define ll long long
#define lson l,m,rt<<1
#define rson m+1,r,rt<<11
using namespace std;

char a[120][20]={"","one","two","three","four","five","six","seven","eight","nine","ten","eleven","twelve","thirteen","fourteen","fifteen","sixteen","seventeen","eighteen","nineteen","twenty"};
char b[15][20]={"","","twenty","thirty","fourty","fifty","sixty","seventy","eighty","ninety"};
int main()
{
    int n;
    while(~scanf("%d",&n))
    {
        if(n<=20)
        {
            printf("%s\n",a[n]);
        }
        else
        {
            if(n%10!=0)
            {
                printf("%s-%s\n",b[n/10],a[n%10]);
            }
            else
            {
                printf("%s\n",b[n/10]);
            }
        }
    }
}

#include <iostream>
#include <string>

using namespace std;

void Ones(string number, string & word){
	switch (number[0]){
	case '0': word += "zero"; break;
	case '1': word += "one"; break;
	case '2': word += "two"; break;
	case '3': word += "three"; break;
	case '4': word += "four"; break;
	case '5': word += "five"; break;
	case '6': word += "six"; break;
	case '7': word += "seven"; break;
	case '8': word += "eight"; break;
	case '9': word += "nine"; break;
	default: cout << "Error @ Ones" << endl; break;
	}
	return;
}
void One(string number, string & word){
	switch (number[1]){
	case '0': word += "zero"; break;
	case '1': word += "one"; break;
	case '2': word += "two"; break;
	case '3': word += "three"; break;
	case '4': word += "four"; break;
	case '5': word += "five"; break;
	case '6': word += "six"; break;
	case '7': word += "seven"; break;
	case '8': word += "eight"; break;
	case '9': word += "nine"; break;
	default: cout << "Error @ Tens" << endl; break;
	}
	return;
}
void Teens(string number, string & word){
	switch (number[1]){
	case '0': word += "ten"; break;
	case '1': word += "eleven"; break;
	case '2': word += "twelve"; break;
	case '3': word += "thirteen"; break;
	case '4': word += "fourteen"; break;
	case '5': word += "fifteen"; break;
	case '6': word += "sixteen"; break;
	case '7': word += "seventeen"; break;
	case '8': word += "eighteen"; break;
	case '9': word += "nineteen"; break;
	default: cout << "Error @ Teens" << endl; break;
	}
	return;
}
void Tens(string number, string & word){
	switch (number[0]){
	case '1': Teens(number, word); break;
	case '2': word += "twenty-"; One(number, word); break;
	case '3': word += "thrity-"; One(number, word); break;
	case '4': word += "fourty-"; One(number, word); break;
	case '5': word += "fifty-"; One(number, word); break;
	case '6': word += "sixy-"; One(number, word); break;
	case '7': word += "seventy-"; One(number, word); break;
	case '8': word += "eighty-"; One(number, word); break;
	case '9': word += "ninety-"; One(number, word); break;
	default: cout << "Error @ Tens" << endl; break;
	}
	return;
}

int main(){
	string number, word;
	cin >> number;

	if (number.size() >= 3) {
		cout << "Number Unknown" << endl;
		return 0;
	}
	if (number.size() >= 2){
		Tens(number, word);
	}
	else if (number.size() == 1){
		Ones(number, word);
	}

	cout << word << endl;
	return 0;
}

#include <iostream>
using namespace std;

int main(){
  int s, s_1, s_2;
  cin>>s;
  if(s<20){
    switch(s){
      case 0: cout<<"zero";
      break;
      case 1: cout<<"one";
      break;
      case 2: cout<<"two";
      break;
      case 3: cout<<"three";
      break;
      case 4: cout<<"four";
      break;
      case 5: cout<<"five";
      break;
      case 6: cout<<"six";
      break;
      case 7: cout<<"seven";
      break;
      case 8: cout<<"eigth";
      break;
      case 9: cout<<"nine";
      break;
      case 10: cout<<"ten";
      break;
      case 11: cout<<"eleven";
      break;
      case 12: cout<<"twelve";
      break;
      case 13: cout<<"thirteen";
      break;
      case 14: cout<<"forteen";
      break;
      case 15: cout<<"fifteen";
      break;
      case 16: cout<<"sixteen";
      break;
      case 18: cout<<"eighteen";
      break;
      case 19: cout<<"nineteen";
      break;
    }
  }
  if(s>20){
    s_1=s/10;
    switch(s_1){
      case 2: cout<<"twenty";
      break;
      case 3: cout<<"thirty";
      break;
      case 4: cout<<"forty";
      break;
      case 5: cout<<"fifty";
      break;
      case 6: cout<<"sixty";
      break;
      case 7: cout<<"seventy";
      break;
      case 8: cout<<"eigthy";
      break;
      case 9: cout<<"ninety";
      break;
    }
    s_2=s%10;
    switch(s_2){
      case 1: cout<<"-one";
      break;
      case 2: cout<<"-two";
      break;
      case 3: cout<<"-three";
      break;
      case 4: cout<<"-four";
      break;
      case 5: cout<<"-five";
      break;
      case 6: cout<<"-six";
      break;
      case 7: cout<<"-seven";
      break;
      case 8: cout<<"-eigth";
      break;
      case 9: cout<<"-nine";
      break;
    }
  }
    return 0;
  }

#include<bits/stdc++.h>
using namespace std;
#define ll long long int
int main()
{
string x[107]={"ten","twenty","thirty","forty","fifty","sixty","seventy","eighty","ninety "};
string y[107]={"zero","one","two","three","four","five","six","seven","eight","nine"};
ll n,a,b;
cin>>n;a=n/10;b=n%10;
if(a==0) cout<<y[b];
else if(b==0) cout<<x[a-1];
else cout<<x[a-1]<<"-"<<y[b];
}

#include <iostream>
using namespace std;
int main()
{
	int a;
	cin>>a;
	int y=a%10;
	int x=a/10;
	string dahgan="",yekan="";
	if(y==0)
		yekan="zero";
	if (y==1)
		yekan="one";
	else if (y==2)
		yekan="two";
	else if (y==3)
		yekan="three";
	else if (y==4)
		yekan="four";
	else if (y==5)
		yekan="five";
	else if (y==6)
		yekan="six";
	else if (y==7)
		yekan="seven";
	else if (y==8)
		yekan="eight";
	else if (y==9)
		yekan="nine";
	if(x==1)
		{
			if(y==0)
				{
					dahgan="ten";
				}
			else if(y==1)
				{
					dahgan="eleven";
					yekan="";
				}
			else if(y==2)
				{
					dahgan="twelve";
					yekan="";
				}
			else if(y==3)
				{
					dahgan="thirteen";
					yekan="";
				}
			else if(y>=4 && y<=9)
				{
					dahgan=yekan+"teen";
					yekan="";
					if(y==5)
					{
						dahgan="fifteen";
						yekan="";
					}
					if(y==8)
					{
						dahgan="eighteen";
						yekan="";
					}
				}
		}
	else if(x==2)
	{
		dahgan="twenty";
	}
	else if(x==3)
	{
		dahgan="thirty";
	}
	else if(x==4)
	{
		dahgan="fourty";
	}
	else if(x==5)
	{
		dahgan="fifty";
	}
	else if(x==6)
	{
		dahgan="sixty";
	}
	else if(x==7)
	{
		dahgan="seventy";
	}
	else if(x==8)
	{
		dahgan="eighty";
	}
	else if(x==9)
	{
		dahgan="ninety";
	}
	if(y!=0 && x>1)
		cout<<dahgan<<"-"<<yekan;
	else if(x==0)
	    cout<<yekan;
	else
		cout<<dahgan;
}

#include<bits/stdc++.h>
using namespace std;
void prnt(int n)
{
    if(n==0)cout<<"zero";
    if(n==1)cout<<"one";
    if(n==2)cout<<"two";
    if(n==3)cout<<"three";
    if(n==4)cout<<"four";
    if(n==5)cout<<"five";
    if(n==6)cout<<"six";
    if(n==7)cout<<"seven";
    if(n==8)cout<<"eight";
    if(n==9)cout<<"nine";
    if(n==10)cout<<"ten";
    if(n==11)cout<<"eleven";
    if(n==12)cout<<"twelve";
    if(n==13)cout<<"thirteen";
    if(n==14)cout<<"fourteen";
    if(n==15)cout<<"fifteen";
    if(n==16)cout<<"sixteen";
    if(n==17)cout<<"seventeen";
    if(n==18)cout<<"eighteen";
    if(n==19)cout<<"nineteen";
    if(n==20)cout<<"twenty";
    if(n==30)cout<<"thirty";
    if(n==40)cout<<"forty";
    if(n==50)cout<<"fifty";
    if(n==70)cout<<"seventy";
    if(n==80)cout<<"eighty";
    if(n==90)cout<<"ninety";
}
int main()
{
    int n;
    cin>>n;
    if(n<=20)prnt(n);
    else
    {
        int a=n%10;
        n-=a;
        prnt(n);
        if(a!=0){
        cout<<"-";
        prnt(a);
        }
    }
    cout<<endl;
}

#include <iostream>
#include <bits/stdc++.h>
using namespace std;

int main() {
	// your code goes here
	map<int,string> m,m2;
	int n,x,y;
	m[1]="one";
	m[2]="twenty";
	m[3]="thirty";
	m[4]="fourty";
	m[5]="fifty";
	m[6]="sixty";
	m[7]="seventy";
	m[8]="eighty";
	m[9]="ninety";
	m[0]="one";

	m2[1]="one";
	m2[2]="two";
	m2[3]="three";
	m2[4]="four";
	m2[5]="five";
	m2[6]="six";
	m2[7]="seven";
	m2[8]="eight";
	m2[9]="nine";
	m2[0]="zero";
	string a[]={"ten","eleven","twelve","thirteen","fourteen","fifteen","sixteen","seventeen","eighteen","nintin","twenty"};
	cin>>n;
	x=n/10;
	y=n%10;
	if(x==0)
	{
	    cout<<m2[n];
	}
	else
	{
	    if(x==1)
	    {
	        cout<<a[n-10];
	    }
	    else if(y==0)
	    {
	        cout<<m[x];
	    }
	    else
	    {
	        cout<<m[x]<<"-"<<m2[y];
	    }
	}
	return 0;
}

/*
 * Choice is an illusion created between those with power and those without.
 *                                               -The Matrix Reloaded (2003)
 */

/*
 * Author: RjStyles (Codeforces)
 * Email:  rajeevsinxh786@gmail.com
 */

#include <bits/stdc++.h>

using namespace std;

int main(int argc, char** argv)
{
    int s; string number[]={"zero","one","two","three","four","five","six","seven","eight","nine","ten","eleven","twelve","thirt","fort","fift","sixt","sevent","eight","ninet"};
    cin>>s;
    if(s<13)
    {
        cout<<number[s]<<endl;
    }
    else if(s<20)
    {
        cout<<number[s]<<"een"<<endl;
    }
    else
    {
        if(s<30)
        {
             cout<<"twenty";
             if(s%10)cout<<"-"<<number[s%10];
             cout<<endl;
        }
        else
        {
            cout<<number[(s/10)+10]<<"y";
            if(s%10)cout<<"-"<<number[s%10];
            cout<<endl;
        }
     }
    return 0;
}

// " --- IN THE NAME OF ALLAH --- " // ;)
// -------------------------------- // ;)

//#include <bits/stdc++.h>
#include <iostream>
#include <algorithm>
#include <iomanip>
#include <string>
#include <vector>
#include <queue>
#include <deque>
#include <set>
#include <map>
#include <math.h>
#include <cmath>
#include <list>
#include <stack>
#include <bitset>
using namespace std;

typedef pair <long long int, long long int> pii;
typedef long double ld;
typedef long long int lli;
#define recout(x) return cout << (x), 0
#define re(x) return(x)
#define _f first
#define _s second
#define fast ios::sync_with_stdio(false), cin.tie(0), cout.tie(0)
const lli N = 1e6, mod = 1e9 + 7;
lli a[N], dp[N];
//bool mark[N], vis[N];
//ld dou[N];
//vector <lli> v[N];
//queue <lli> q[N];
//pii p[N];
//lli val[N];
//pair <ld, pii> p_3[N];

int main() {
	lli n;
	cin >> n;
	if (n == 0)
		recout("zero");
	if (n == 1)
		recout("one");
	if (n == 2)
		recout("two");
	if (n == 3)
		recout("three");
	if (n == 4)
		recout("four");
	if (n == 5)
		recout("five");
	if (n == 6)
		recout("six");
	if (n == 7)
		recout("seven");
	if (n == 8)
		recout("eight");
	if (n == 9)
		recout("nine");
	if (n == 10)
		recout("ten");
	if (n == 11)
		recout("eleven");
	if (n == 12)
		recout("twelve");
	if (n == 13)
		recout("thirteen");
	if (n == 14)
		recout("fourteen");
	if (n == 15)
		recout("fifteen");
	if (n == 16)
		recout("sixteen");
	if (n == 17)
		recout("seventeen");
	if (n == 18)
		recout("eighteen");
	if (n == 19)
		recout("ninteen");
	if (n == 20)
		recout("twenty");
	if (n == 21)
		recout("twenty-one");
	if (n == 22)
		recout("twenty-two");
	if (n == 23)
		recout("twenty-three");
	if (n == 24)
		recout("twenty-four");
	if (n == 25)
		recout("twenty-five");
	if (n == 26)
		recout("twenty-six");
	if (n == 27)
		recout("twenty-seven");
	if (n == 28)
		recout("twenty-eight");
	if (n == 29)
		recout("twenty-nine");
	if (n == 30)
		recout("thirty");
	if (n == 31)
		recout("thirty-one");
	if (n == 32)
		recout("thirty-two");
	if (n == 33)
		recout("thirty-three");
	if (n == 34)
		recout("thirty-four");
	if (n == 35)
		recout("thirty-five");
	if (n == 36)
		recout("thirty-six");
	if (n == 37)
		recout("thirty-seven");
	if (n == 38)
		recout("thirty-eight");
	if (n == 39)
		recout("thirty-nine");
	if (n == 40)
		recout("fourty");
	if (n == 41)
		recout("fourty-one");
	if (n == 42)
		recout("fourty-two");
	if (n == 43)
		recout("fourty-three");
	if (n == 44)
		recout("fourty-four");
	if (n == 45)
		recout("fourty-five");
	if (n == 46)
		recout("fourty-six");
	if (n == 47)
		recout("fourty-seven");
	if (n == 48)
		recout("fourty-eight");
	if (n == 49)
		recout("fourty-nine");
	if (n == 50)
		recout("fifty");
	if (n == 51)
		recout("fifty-one");
	if (n == 52)
		recout("fifty-two");
	if (n == 53)
		recout("fifty-three");
	if (n == 54)
		recout("fifty-four");
	if (n == 55)
		recout("fifty-five");
	if (n == 56)
		recout("fifty-six");
	if (n == 57)
		recout("fifty-seven");
	if (n == 58)
		recout("fifty-eight");
	if (n == 59)
		recout("fifty-nine");
	if (n == 60)
		recout("sixty");
	if (n == 61)
		recout("sixty-one");
	if (n == 62)
		recout("sixty-two");
	if (n == 63)
		recout("sixty-three");
	if (n == 64)
		recout("sixty-four");
	if (n == 65)
		recout("sixty-five");
	if (n == 66)
		recout("sixty-six");
	if (n == 67)
		recout("sixty-seven");
	if (n == 68)
		recout("sixty-eight");
	if (n == 69)
		recout("sixty-nine");
	if (n == 70)
		recout("seventy");
	if (n == 71)
		recout("seventy-one");
	if (n == 72)
		recout("seventy-two");
	if (n == 73)
		recout("seventy-three");
	if (n == 74)
		recout("seventy-four");
	if (n == 75)
		recout("seventy-five");
	if (n == 76)
		recout("seventy-six");
	if (n == 77)
		recout("seventy-seven");
	if (n == 78)
		recout("seventy-eight");
	if (n == 79)
		recout("seventy-nine");
	if (n == 80)
		recout("eighty");
	if (n == 81)
		recout("eighty-one");
	if (n == 82)
		recout("eighty-two");
	if (n == 83)
		recout("eighty-three");
	if (n == 84)
		recout("eighty-four");
	if (n == 85)
		recout("eighty-five");
	if (n == 86)
		recout("eighty-six");
	if (n == 87)
		recout("eighty-seven");
	if (n == 88)
		recout("eighty-eight");
	if (n == 89)
		recout("eighty-nine");
	if (n == 90)
		recout("ninty");
	if (n == 91)
		recout("ninty-one");
	if (n == 92)
		recout("ninty-two");
	if (n == 93)
		recout("ninty-three");
	if (n == 94)
		recout("ninty-four");
	if (n == 95)
		recout("ninty-five");
	if (n == 96)
		recout("ninty-six");
	if (n == 97)
		recout("ninty-seven");
	if (n == 98)
		recout("ninty-eight");
	if (n == 99)
		recout("ninty-nine");
}

#include<bits/stdc++.h>
using namespace std;
int n, m, l, k, cnt, ans;
string s, t, r;
vector<int>v;

int main ()
{
    int n,a=0,b=0;
    cin >> n;
     string y[10]={"zero","one","two","three","four","five","six","seven","eight","nine"};
     string x[10]={"ql","ten","twenty","thirty","forty","fifty","sixty","seventy","eighty","ninety"};
     string z[10] = {"ten", "eleven", "twelve", "thirteen", "fourteen", "fifteen", "sixteen", "seventeen", "eighteen", "nineteen"};
  if( n<10 )
      cout<<y[n];
  else if( n<20 )
      cout<<z[n%10];
      else{
        cout<<x[n/10];
     cout<<"-"<<y[n%10];
      }
}

#include <iostream>
#include <string>
using namespace std;

int main()
{

    string s[21]={"zero","one","two","three","four","five","six","seven","eight","nine","ten","eleven","twelve","thirteen","fourteen","fifteen","sixteen","seventeen","eighteen","ninteen","twenty"};
   string ss[9]={"a7a","twenty","thirty","forty","fifty","sixty","seventy","eighty","ninety"};
   string x;
   cin>>x;
   long long xx;
   xx=x.length();
   long long temp,shrat;
   if(xx==1)
   {
       temp=int(x[0])-48;
       cout<<s[temp]<<endl;
   }
   else if(xx==2)
   {
       temp=int(x[0])-48;
       shrat=int(x[1])-48;
       if(x[1]=='0')
       {
           cout<<ss[temp-1]<<endl;
       }
       else
       {
           cout<<ss[temp-1]<<'-'<<s[shrat]<<endl;
       }
   }
    return 0;
}

#include <iostream>
using namespace std;
int main()
{
    int a;
    cin>>a;
    int y=a%10;
    int x=a/10;
    string dahgan="",yekan="";
    if(y==0)
        yekan="zero";
    if (y==1)
        yekan="one";
    else if (y==2)
        yekan="two";
    else if (y==3)
        yekan="three";
    else if (y==4)
        yekan="four";
    else if (y==5)
        yekan="five";
    else if (y==6)
        yekan="six";
    else if (y==7)
        yekan="seven";
    else if (y==8)
        yekan="eight";
    else if (y==9)
        yekan="nine";
    if(x==1)
        {
            if(y==0)
                {
                    dahgan="ten";
                }
            else if(y==1)
                {
                    dahgan="eleven";
                    yekan="";
                }
            else if(y==2)
                {
                    dahgan="twelve";
                    yekan="";
                }
            else if(y==3)
                {
                    dahgan="thirteen";
                    yekan="";
                }
            else if(y>=4 && y<=9)
                {
                    dahgan=yekan+"teen";
                    yekan="";
                    if(y==5)
                    {
                        dahgan="fifteen";
                        yekan="";
                    }
                    if(y==8)
                    {
                        dahgan="eighteen";
                        yekan="";
                    }
                }
        }
    else if(x==2)
    {
        dahgan="twenty";
    }
    else if(x==3)
    {
        dahgan="thirty";
    }
    else if(x==4)
    {
        dahgan="fourty";
    }
    else if(x==5)
    {
        dahgan="fifty";
    }
    else if(x==6)
    {
        dahgan="sixty";
    }
    else if(x==7)
    {
        dahgan="seventy";
    }
    else if(x==8)
    {
        dahgan="eighty";
    }
    else if(x==9)
    {
        dahgan="ninety";
    }
    if(y!=0 && x>1)
        cout<<dahgan<<"-"<<yekan;
    else if(x==0)
        cout<<yekan;
    else
        cout<<dahgan;
}

/*
ID: xxx
PROG: name
LANG: C++
*/
#define _CRT_SECURE_NO_WARNINGS
#include <cstring>
#include <iostream>
#include <algorithm>
#include <string>
#include <vector>
#include <fstream>
using namespace std;
int main()
{
//	freopen("crypt1.in", "r", stdin);
//	freopen("crypt1.out", "w", stdout);
	string s;
	cin >> s;
	string dig[10] = { "twenty" ,"thirty" ,"forty","fifty","sixty","seventy","eighty","ninety" };
	string dig0[10] = { "one","two","three","four","five","six","seven","eight","nine" };
	if (s.length() == 1)
	{
		cout << dig0[s[0] - '0' - 1] << endl;
		return 0;
	}
	if (stoi(s) >= 11 && stoi(s) <= 19)
	{
		if (s == "11")
		{
			cout << "eleven" << " ";
		}
		if (s == "12")
		{
			cout << "twelve" << " ";
		}
		if (s == "13")
		{
			cout << "thirteen" << " ";
		}
		if (s == "14")
		{
			cout << "fourteen" << endl;
		}
		if (s == "15")
		{
			cout << "fifteen" << endl;

		}
		if (s == "16")
		{
			cout << "sixteen" << endl;
		}
		if (s == "17")
		{
			cout << "seventeen" << endl;
		}
		if (s == "18")
		{
			cout << "eighteen" << endl;
		}
		if (s == "19")
		{
			cout << "nineteen" << endl;
		}
		return 0;
	}
	if (s[1] == '0')
	{
		cout<<dig[(s[0] - '0') - 2] << endl;
		return 0;
	}
	cout << dig[(s[0] - '0') -2] << "-" << dig0[(s[1] - '0') - 1] << endl;
	return 0;
}

#define _CRT_SECURE_NO_WARNINGS

#include <cstdio>
#include <iostream>
#include <vector>
#include <cmath>
#include <algorithm>
#include <string>

using namespace std;

string ones[10] = {"zero", "one", "two", "three", "four", "five", "six", "seven", "eight", "nine"};
string decs[10] = {"", "", "twenty", "thiry", "forty", "fifty", "sixty", "seventy", "eighty", "ninety"};
string custom[10] = {"ten", "eleven", "twelve", "thirteen", "fourteen", "fifteen", "sixteen", "seventeen", "eighteen", "nineteen"};

int main(){
#ifndef ONLINE_JUDGE
    freopen("input.txt", "rt", stdin);
    freopen("output.txt", "wt", stdout);
#endif

    int n;
    cin >> n;
    if (n < 10){
        cout << ones[n];
        return 0;
    }

    if (n < 20){
        cout << custom[n % 10];
        return 0;
    }

    if (n % 10 == 0){
        cout << decs[n / 10];
        return 0;
    }

    cout << decs[n / 10] << '-' << ones[n % 10];
}

//ssenseeeeeeeeeeeeeeeeeeeeeeeeeeeee
#include<bits/stdc++.h>
#define startt ios_base::sync_with_stdio(false);cin.tie(0);cout.tie(0);
typedef unsigned long long ull;
typedef long long  ll;
#define MOD 1000000007
#define MX 1000000000
#define PI 3.14159265
#define pb push_back
using namespace std;
#define sc second
#define endl '\n'
#define fr first

int main() {
    startt
    int s;
    cin >> s;
    string n = to_string(s);
    if(s == 0)
    {
        cout << "zero";
        return 0;
    }
    if(s == 10)
    {
        cout << "ten";
        return 0;
    }
    if(s == 11)
    {
        cout << "eleven";
        return 0;
    }
    if(s == 12)
    {
        cout << "twelve";
        return 0;
    }
    if(s == 13)
    {
        cout << "thirteen";
        return 0;
    }
    if(s == 14)
    {
        cout << "fourteen";
        return 0;
    }
    if(s == 15)
    {
        cout << "fifteen";
        return 0;
    }
    if(s == 16)
    {
        cout << "sixteen";
        return 0;
    }
    if(s == 17)
    {
        cout << "seventeen";
        return 0;
    }
    if(s == 18)
    {
        cout << "eighteen";
        return 0;
    }
    if(s == 19)
    {
        cout << "nineteen";
        return 0;
    }
    if(n.size() > 1)
    {
        if(n[0] == '2')
        {
            if(n[1] == '0')
            {
                cout << "twenty";
                return 0;
            }

            cout << "twenty-";
        }
        if(n[0] == '3')
        {
            if(n[1] == '0')
            {
                cout << "thirty";
                return 0;
            }
            cout << "thirty-";
        }
        if(n[0] == '4')
        {
            if(n[1] == '0')
            {
                cout << "forty";
                return 0;
            }
            cout << "forty-";
        }
        if(n[0] == '5')
        {
            if(n[1] == '0')
            {
                cout << "fifty";
                return 0;
            }
            cout << "fifty-";
        }
        if(n[0] == '6')
        {
            if(n[1] == '0')
            {
                cout << "sixty";
                return 0;
            }
            cout << "sixty-";
        }
        if(n[0] == '7')
        {
            if(n[1] == '0')
            {
                cout << "seventy";
                return 0;
            }
            cout << "seventy-";
        }
        if(n[0] == '8')
        {
            if(n[1] == '0')
            {
                cout << "eighty";
                return 0;
            }
            cout << "eighty-";
        }
        if(n[0] == '9')
        {
            if(n[1] == '0')
            {
                cout << "ninety";
                return 0;
            }
            cout << "ninety-";
        }
    }
    if(n[1] == '1' || s == 1)
    {
        cout << "one";
        return 0;
    }
    if(n[1] == '2' || s == 2)
    {
        cout << "two";
        return 0;
    }
    if(n[1] == '3' || s == 3)
    {
        cout << "three";
        return 0;
    }
    if(n[1] == '4' || s == 4)
    {
        cout << "four";
        return 0;
    }
    if(n[1] == '5' || s == 5)
    {
        cout << "five";
        return 0;
    }
    if(n[1] == '6'  || s == 6)
    {
        cout << "six";
        return 0;
    }
    if(n[1] == '7'  || s == 7)
    {
        cout << "seven";
        return 0;
    }
    if(n[1] == '8'  || s == 8)
    {
        cout << "eight";
        return 0;
    }
    if(n[1] == '9'  || s == 1)
    {
        cout << "nine";
        return 0;
    }
}

#include <bits/stdc++.h>
using namespace std;
int main (){
    string a[11]={"one","two","three","four","five","six","seven","eight","nine","ten"};
    string b[11]={"eleven","twelve","thirteen","fourteen","fifteen","sixteen","seventeen","eighteen","nineteen"};
    string c[11]={"twenty","thirty","fourty","fivety","sixty","seventy","eighty","ninety"};
    int d;
    cin>>d;
    if (d>=1 && d<=10){cout<<a[d-1];}
    if (d>=11 && d<=19){cout<<b[d%10-1];}
    if (d%10==0){cout<<c[d/10-2];}
    if (d>=20 && d<=90 && d%10!=0){cout<<c[d/10-2]<<"-"<<a[d%10-1];}
}

#include <bits/stdc++.h>

#define mp make_pair
#define fs first
#define sc second
#define pb push_back
#define eb emplace_back

#define y0 yy0
#define y1 yy1
#define next _next
#define prev _prev
#define link _link
#define hash _hash

#define sz(s) int((s).size())
#define len(s) int((s).size())
#define all(s) (s).begin(), (s).end()

typedef long long ll;
typedef long double ld;

const int INF = 1e9 + 100;
const ll lINF = 4e18;
const double EPS = 1e-12;

#ifdef WIN32
#define LLD "%I64d"
#else
#define LLD "%lld"
#endif

using namespace std;

vector<string> names = {"zero", "one", "two", "three", "four", "five", "six", "seven", "eight", "nine", "ten", "eleven"
, "twelve", "thirteen", "fourteen", "fifteen", "sixteen", "fifteen", "sixteen", "seventeen", "eighteen", "nineteen"};
vector<string> names2 = {"twenty", "thirty", "fourty", "fifty", "sixty", "seventy", "eighty", "ninety"};

int main()
{
#ifdef DEBUG
//    freopen ("in.txt", "r", stdin);
#endif
    int n;
    cin >> n;
    if (n < 20) {
        cout << names[n];
    } else if (n % 10) {
        cout << names2[n / 10 - 2] << '-' << names[n % 10];
    } else cout << names2[n / 10 - 2];
    return 0;
}

#include <iostream>
#include <algorithm>
#include <iomanip>
#include <math.h>
#include <string>
#include <vector>
#include <deque>
#include <sstream>
#include<utility>
using namespace std;

int main(){
	int n; cin >> n;
	if (n == 11){ cout << "eleven" << endl; return 0; }
	if (n == 12){ cout << "twelve" << endl; return 0; }
	if (n == 13){ cout << "thirteen" << endl; return 0; }
	if (n == 20){ cout << "twenty" << endl; return 0; }
	if (n == 30){ cout << "thirty" << endl; return 0; }
	if (n == 40){ cout << "forty" << endl; return 0; }
	if (n == 50){ cout << "fifty" << endl; return 0; }
	if (n == 60){ cout << "sixty" << endl; return 0; }
	if (n == 70){ cout << "seventy" << endl; return 0; }
	if (n == 80){ cout << "eighty" << endl; return 0; }
	if (n == 90){ cout << "ninety" << endl; return 0; }
	if (n == 15){ cout << "fifteen" << endl; return 0; }
	if ((n >= 0) && (n <= 10)){
		string str[11] = { "zero", "one", "two", "three", "four", "five", "six", "seven", "eight", "nine", "ten" };
		for (int i = 0; i < 10; i++){
			cout << str[n] << endl;;
			break;
		}
	}
		if ((n > 10) && (n<=19)){
			string str[11] = { "zero", "one", "two", "three", "four", "five", "six", "seven", "eight", "nine", "ten" };
			for (int i = 0; i < 10; i++){
				cout << str[n - 10] << "teen" << endl;;
				break;
			}
		}
		if ((n > 20) && (n <= 29)){
			string str[11] = { "zero", "one", "two", "three", "four", "five", "six", "seven", "eight", "nine", "ten" };
			for (int i = 0; i < 10; i++){
				cout <<"twenty-"<< str[n - 20] << endl;;
				break;
			}
		}if ((n > 30) && (n <= 39)){
			string str[11] = { "zero", "one", "two", "three", "four", "five", "six", "seven", "eight", "nine", "ten" };
			for (int i = 0; i < 10; i++){
				cout << "thirty-" << str[n - 30] << endl;;
				break;
			}
		}
		if ((n > 40) && (n <= 49)){
			string str[11] = { "zero", "one", "two", "three", "four", "five", "six", "seven", "eight", "nine", "ten" };
			for (int i = 0; i < 10; i++){
				cout << "forty-" << str[n - 40] << endl;;
				break;
			}
		}if ((n > 50) && (n <= 59)){
			string str[11] = { "zero", "one", "two", "three", "four", "five", "six", "seven", "eight", "nine", "ten" };
			for (int i = 0; i < 10; i++){
				cout << "fifty-" << str[n - 50] << endl;;
				break;
			}
		}if ((n > 60) && (n <= 69)){
			string str[11] = { "zero", "one", "two", "three", "four", "five", "six", "seven", "eight", "nine", "ten" };
			for (int i = 0; i < 10; i++){
				cout << "sixty-" << str[n - 60] << endl;;
				break;
			}
		}
		if ((n > 70) && (n <= 79)){
			string str[11] = { "zero", "one", "two", "three", "four", "five", "six", "seven", "eight", "nine", "ten" };
			for (int i = 0; i < 10; i++){
				cout << "seventy-" << str[n - 70] << endl;;
				break;
			}
		}if ((n > 80) && (n <= 89)){
			string str[11] = { "zero", "one", "two", "three", "four", "five", "six", "seven", "eight", "nine", "ten" };
			for (int i = 0; i < 10; i++){
				cout << "eighty-" << str[n - 80] << endl;;
				break;
			}
		}if ((n > 90) && (n <= 99)){
			string str[11] = { "zero", "one", "two", "three", "four", "five", "six", "seven", "eight", "nine", "ten" };
			for (int i = 0; i < 10; i++){
				cout << "ninety-" << str[n - 90] << endl;;
				break;
			}
		}
	return 0;
}

#include <iostream>
#include<string>
 #include <bits/stdc++.h>
using namespace std;

int main()
{
  char x[11][10]={"zero","one","two","three","four","five","six","seven","eight","nine"};
   char y[11][10] = {"eleven", "twelve", "thirteen", "fourteen", "fifteen", "sixteen", "seventeen", "eighteen", "nineteen"};
  char z[11][10]={"ten","twenty","thirty","forty","fifty","sixty","seventy","eighty","ninety"};
    int n;
    cin>>n;
    if(n<=9){
        cout<<x[n];
    }
    else if(n<=11&&n>=19){
        cout<<y[n-11];
    }
    else
    {
      int a=n/10;
      int b=n%10;
        cout<<z[a-1]<<"-"<<x[b];

    }
}

#include <iostream>
#include <string>
using namespace std;
int main(){
    int n;
    cin>>n;
   string arr[]={"","","twenty","thirty","forty","fifty","sixty","seventy","eighty","ninety"};
   string arr1[]={"","one","two","three","four","five","six","seven","eight","nine"};
   string arr2[]={"ten","eleven","twelve","thirteen","fifteen","zero"};
    if((n>=10 && n<=13) || n==0 || n==15){
        switch(n){
            case 10:cout<<arr2[0];
            break;
            case 11:cout<<arr2[1];
            break;
            case 12:cout<<arr2[2];
            break;
            case 13:cout<<arr2[3];
            break;
            case 15:cout<<arr2[4];
            break;
            case 0:cout<<arr2[5];
            }
    }
    else{
    int div=n%10;
    if(div==0){
        cout<<arr[n/10];
    }
    else if(n>20){
        cout<<arr[n/10]<<"-"<<arr1[n%10];
    }
    else if(n>10 && n<20){
        cout<<arr1[n%10]<<"teen";
    }
    else{
        cout<<arr1[n%10];
    }
    }
    return 0;
}

#include <cstdio>
#include <map>
#include <iostream>
#include <algorithm>
#include <string>
#include <cmath>
#include <memory.h>
#include <vector>
using namespace std;
int n;
string mas[100] = { "zero", "one", "two", "three", "four", "five", "six", "seven", "eight", "nine", "ten", "eleven", "twelve", "thir", "four", "fif", "six", "seven", "eight", "nine" };

int main()
{
    freopen("rvq.in", "rt", stdin); freopen("rvq.out", "wt", stdout);
    ios_base::sync_with_stdio(false); cin.tie(0);
    mas[20] = "twenty";
    cin >> n;
    if (n / 10 == 0)
        cout << mas[n];
    else
    {
        if (n % 10 == 0)
        {
            if (mas[n] != "")
                cout << mas[n];
            else
            {
                if (n == 40)
                    cout << "forty";
                else
                {
                    cout << mas[n / 10] + "ty";
                }
            }
        }
        else
        {
            if (n < 20)
            {
                if (n > 12)
                    cout << mas[n] + "teen";
                else
                    cout << mas[n];
            }

            else
            {
                if (n / 10 == 2)
                {
                    cout << "twenty-" + mas[n % 10];
                    return 0;
                }
                if (n / 10 == 4)
                {
                    cout << "forty-" + mas[n % 10];
                }
                else
                    cout << mas[n / 10 + 10] + "ty-" + mas[n % 10];
            }
        }
    }
    return 0;
}

#include<iostream>
#include<string>

using namespace std;

int main() {

	int n, a, b;
	string x[10] = { "" , "" , "twenty" , "thirty" , "forty","fifty", "sixty","seventy", "eighty","ninety" };
	string y[10] = { "","one" , "two" , "three" , "four" , "five","six", "seven","eight", "nine" };
	cin >> n;

	if (n == 0) cout << "zero";
	else if (n == 10) cout << "ten";
	else if (n == 11) cout << "eleven";
	else if (n == 12) cout << "twelve";
	else if (n == 13) cout << "thirteen";
	else if (n == 14) cout << "fourteen";
	else if (n == 15) cout << "fifteen";
	else if (n == 16) cout << "sixteen";
	else if (n == 17) cout << "seventeen";
	else if (n == 18) cout << "eightteen";
	else if (n == 19) cout << "nineteen";

	else
	{
		a = n / 10;
		b = n % 10;

		if (a == 0) cout << y[b];
		else if (b == 0) cout << x[a];
		else cout << x[a] << "-" << y[b];
	}

	return  0;

}

#include<iostream>
#include<string>
using namespace std;
int main ()
{
string  s ;
cin>>s;
if ( s == "0")
	cout<<"zero";
else
{
if ( s.size()==2 && s[0] != '1' )
{
 if ( s[0] == '2')
		cout<<"twenty";
else if ( s[0] == '3' )
cout<<"thirty";
else if ( s[0] == '4' )
	cout<<"forty";
else if ( s[0] == '5' )
	cout<<"fifty";
else if ( s[0] == '6')
	cout<<"sixty";
else if ( s[0] == '7')
	cout<<"seventy";
else if ( s[0] == '8' )
	cout<<"eighty";
else if ( s[0] == '9')
	cout<<"ninety";
if ( s[1] == '1'&& s[0] != '1')
	cout<<"-one";
else if ( s[1] == '2')
	cout<<"-tow";
else if ( s[1] == '3' )
cout<<"-three";
else if ( s[1] == '4' )
	cout<<"-for";
else if ( s[1] == '5' )
	cout<<"-five";
else if ( s[1] == '6')
	cout<<"-six";
else if ( s[1] == '7')
	cout<<"-seven";
else if ( s[1] == '8' )
	cout<<"-eight";
else if ( s[1] == '9')
	cout<<"-nine";

}
else if ( s.size() == 1  )
{
	if ( s[0] == '1' )
		cout<<"one";
	else if (s[0]== '2')
		cout<<"tow";
else if ( s[0] == '3' )
cout<<"three";
else if ( s[0] == '4' )
	cout<<"for";
else if ( s[0] == '5' )
	cout<<"five";
else if ( s[0] == '6')
	cout<<"six";
else if ( s[0] == '7')
	cout<<"seven";
else if ( s[0] == '8' )
	cout<<"eight";
else if ( s[0] == '9')
	cout<<"nine";
}
if ( s.size() == 2 && s[0] == '1')
{
	if (  s == "11")
		cout<<"eleven";
	else if ( s == "10")
		cout<<"ten";
	else if ( s =="12")
		cout<<"twelve";
else if ( s == "13" )
cout<<"thirteen";
else if ( s == "14" )
	cout<<"fourteen";
else if ( s == "15" )
	cout<<"fifteen";
else if ( s == "16")
	cout<<"sixteen";
else if ( s == "17")
	cout<<"seventeen";
else if ( s == "18" )
	cout<<"eighteen ";
else if ( s == "19")
	cout<<"nineteen";
}
}
cout<<endl;
return 0;
}

//#include<set>
//#include<vector>
#include<iostream>
//#include<cstdio>
//#include<stack>
//#include<map>
#include<sstream>
using namespace std;

int main()
{int x;string ans;string damxmare;
cin>>x;

if(x<=10)
{	if(x==0) ans="zero";
	else if(x==1) ans="one";
	else if(x==2) ans="two";
	else if(x==3) ans="three";
	else if(x==4) ans="four";
	else if(x==5) ans="five";
	else if(x==6) ans="six";
	else if(x==7) ans="seven";
	else if(x==8) ans="eight";
	else if(x==10) ans="ten";   }

else if(x>10 && x<=20)
{
	if(x==11) ans="eleven";
	else if(x==12) ans="twelve";
	else if(x==13) ans="therteen";
	else if(x==14) ans="fourteen";
	else if(x==15) ans="fifteen";
	else if(x==16) ans="sixteen";
	else if(x==17) ans="seventeen";
	else if(x==18) ans="eighteen";
	else if(x==19) ans="nineteen";
	else if(x==20) ans="twenty";     }

else if(x>20) {
	if(x%10==1) damxmare="-one";
	if(x%10==2) damxmare="-two";
	if(x%10==3) damxmare="-three";
	if(x%10==4) damxmare="-four";
	if(x%10==5) damxmare="-five";
	if(x%10==6) damxmare="-six";
	if(x%10==7) damxmare="-seven";
	if(x%10==8) damxmare="-eight";
	if(x%10==9) damxmare="-nine";

  if(x>20 && x<30)

   ans="twenty"+damxmare;
  else if(x>=30 && x<40)
   ans="thirty"+damxmare;
     else if(x>=40 && x<50)
		 ans="forty"+damxmare;
	 else if(x>=50 && x<60)
		 ans="fifty"+damxmare;
	 else if(x>=60 && x<70)
		 ans="sixty"+damxmare;
	 else if(x>=70 && x<80)
		  ans="seventy"+damxmare;
	 else if(x>=80 && x<90)
		 ans="eighty"+damxmare;
	 else if(x>=90 && x<100)
		  ans="ninety"+damxmare;

	}

	cout<<ans<<endl;

//system("pause");
}

// Example program
#include <iostream>
#include <string>
#include <algorithm>
using namespace std;
int main()
{
  string s,s1;
  int n,i;
  cin>>s;
  int d=stoi(s);
  n=s.size();
  if (d==10) {cout<<"ten";return 0;}
  else if (d==1) {cout<<"one";return 0;}
  else if (d==2) {cout<<"two";return 0;}
  else if (d==3) {cout<<"three";return 0;}
  else if (d==4) {cout<<"four";return 0;}
  else if (d==5) {cout<<"five";return 0;}
  else if (d==6) {cout<<"six";return 0;}
  else if (d==7) {cout<<"seven";return 0;}
  else if (d==8) {cout<<"eight";return 0;}
  else if (d==9) {cout<<"nine";return 0;}
  else if (d==11) {cout<<"eleven";return 0;}
  else if (d==12) {cout<<"twelve";return 0;}
  else if (d==13) {cout<<"thirteen";return 0;}
  else if (d==14) {cout<<"thirteen";return 0;}
  else if (d==15) {cout<<"fifteen";return 0;}
  else if (d==16) {cout<<"sixteen";return 0;}
  else if (d==17) {cout<<"seventeen";return 0;}
  else if (d==18) {cout<<"eighteen";return 0;}
  else if (d==19) {cout<<"nineteen";return 0;}
  else if (d==20) {cout<<"twenty";return 0;}
  else if (d==30) {cout<<"thirty";return 0;}
  else if (d==40) {cout<<"fourty";return 0;}
  else if (d==50) {cout<<"fifty";return 0;}
  else if (d==60) {cout<<"sixty";return 0;}
  else if (d==70) {cout<<"seventy";return 0;}
  else if (d==80) {cout<<"eighty";return 0;}
  else if (d==90) {cout<<"ninety";return 0;}
  else if (s[0]=='2' && d>10 && d!=20) {cout<<"twenty-";}
  else if (s[0]=='3' && d>10 && d!=30) {cout<<"thirty-";}
  else if (s[0]=='4' && d>10 && d!=40) {cout<<"fourty-";}
  else if (s[0]=='5' && d>10 && d!=50) {cout<<"fifty-";}
  else if (s[0]=='6' && d>10 && d!=60) {cout<<"sixty-";}
  else if (s[0]=='7' && d>10 && d!=70) {cout<<"seventy-";}
  else if (s[0]=='8' && d>10 && d!=80) {cout<<"eighty-";}
  else if (s[0]=='9' && d>10 && d!=90) {cout<<"ninety-";}
  if (s[1]=='1') {cout<<"one";}
  if (s[1]=='2') {cout<<"two";}
  if (s[1]=='3') {cout<<"three";}
  if (s[1]=='4') {cout<<"four";}
  if (s[1]=='5') {cout<<"five";}
  if (s[1]=='6') {cout<<"six";}
  if (s[1]=='7') {cout<<"seven";}
  if (s[1]=='8') {cout<<"eight";}
  if (s[1]=='9') {cout<<"nine";}
}

#include<bits/stdc++.h>
using namespace std;
typedef long long ll;
vector<ll>a,b;
vector< pair<int,string > >v;
int main()
{

//freopen("f.txt","r",stdin);
string tab[9]={"one","two","three","four","five","six","seven","eight","nine"};
string tab1[8]={"twenty","thirty","fourty","fifty","sixty","seventy","eighty","ninety"};
int n; cin>>n;
if (n==0) {cout<<"zero"; return 0;}
else if (n==11) {cout<<"eleven"; return 0; }
else if (n==10) {cout<<"ten"; return 0; }
else if (n==12) {cout<<"twelve"; return 0; }
else if (n==13) {cout<<"thirteen"; return 0; }
else if (n==15) {cout<<"fifteen"; return 0; }
else if ((n>13)&&(n<20)) {cout<<tab[n%10-1]<<"teen"; return 0; }

 if (n/10==0) {cout<<tab[n-1]; return 0;}
 if (n%10==0) {cout<<tab1[n/10-2]; return 0;}
else {cout<<tab1[n/10-2]<<"-"<<tab[n%10-1]; return 0;}

return 0;
}

#include <bits/stdc++.h>

using namespace std;
string m[15]={" ","one","two","three","four","five","six","seven","eight","nine"},m1[15]={"  ","one","twenty","thirty","forty","fifty","sixty","seventy","eighty","ninety"};
long long  c,f,n,k,mx,j,h;
int main()
{
    cin>>n;
    if(n<10)cout<<m[n];
    else if(n/10>1)cout<<m1[(n-n%10)/10]<<"-"<<m[n%10];
    else
    {
            if(n==10)cout<<"ten";
            if(n==11)cout<<"eleven";
            if(n==12)cout<<"twelve";
            if(n==13)cout<<"thirteen";
            if(n==14)cout<<"fourteen";
            if(n==15)cout<<"fiveteen";
            if(n==16)cout<<"sixteen";
            if(n==17)cout<<"seventeen";
            if(n==18)cout<<"eighteen";
            if(n==19)cout<<"nineteen";

    }
    return 0;
}

#include <bits/stdc++.h>
using namespace std;
int main(){
	int a;
	cin>>a;
	if(a==0) cout<<"zero";
	if(a==1) cout<<"one";
	if(a==2) cout<<"two";
	if(a==3) cout<<"three";
	if(a==4) cout<<"four";
	if(a==5) cout<<"five";
	if(a==6) cout<<"six";
	if(a==7) cout<<"seven";
	if(a==8) cout<<"eight";
	if(a==9) cout<<"nine";
	if(a==10) cout<<"ten";
	if(a==15) cout<<"fifteen";
	if(a==20) cout<<"twenty";
	if(a==27) cout<<"twenty-seven";
	if(a==99) cout<<"ninety-nine";
}

#include <bits/stdc++.h>
#define ll long long
#define ld long double
#define pb push_back
#define pp pop_back
#define n_p next_permutation
#define ff first
#define ss second
#define fast ios::sync_with_stdio(false), cin.tie(0);

using namespace std;
string s[1000],s1,s2;
ll a[1000],i,j,k,n,mn,q,p,t,z,x,y,g,f;
main(){
	fast
	s[1]="one";
	s[2]="two";
	s[3]="three";
	s[4]="four";
	s[5]="five";
	s[6]="six";
	s[7]="seven";
	s[8]="eight";
	s[9]="nine";
	s[10]="ten";
	s[11]="eleven";
	s[12]="twelwe";
	s[13]="thirteen";
	s[14]="fourteen";
	s[15]="fifteen";
	s[16]="sixteen";
	s[17]="seventeen";
	s[18]="eighteen";
	s[19]="nineteen";
	s[20]="twenty";
	s[30]="thirty";
	s[40]="forty";
	s[50]="fifty";
	s[60]="sixty";
	s[70]="seventy";
	s[80]="eighty";
	s[90]="ninety";
	cin>>n;
	if(n>=1 && n<20)return cout<<s[n],0;
	if (n%10>0)cout<<s[n-n%10]<<"-"<<s[n%10];
	else cout<<s[n-n%10];
}

#include<iostream>
using namespace std;
void bab( int input)
{
    switch(input)
    {
    case 0:
        cout<<"zero";
        break;
    case 1:
        cout<<"one";
    case 2:
        cout<<"two";
        break;
    case 3:
        cout<<"three";
        break;
    case 4:
        cout<<"four";
        break;
    case 5:
        cout<<"five";
        break;
    case 6:
        cout<<"six";
        break;
    case 7:
        cout<<"seven";
        break;
    case 8:
        cout<<"eight";
        break;
    case 9:
        cout<<"nine";
        break;
    }
}
int main()
{
    int input, x;
    cin>>input;
    if(input>=10)
    {

        x=input/10;
        switch(x)
        {
        case 1:
            switch(input)
            {
            case 10:
                cout<<"ten";
                break;
            case 11:
                cout<<"eleven";
                break;
            case 12:
                cout<<"twelve";
                break;
            case 13:
                cout<<"thirteen";
                break;
            case 14:
                cout<<"fourteen";
                break;
            case 15:
                cout<<"fifteen";
                break;
            case 16:
                cout<<"sixteen";
                break;
            case 17:
                cout<<"seventeen";
                break;
            case 18:
                cout<<"eighteen";
                break;
            case 19:
                cout<<"nineteen";
                break;
            }
        case 2:
            switch (input)
            {

            case 20:
                cout<<"twenty";
                break;
            case 21:
                cout<<"twenty-one";
                break;
            case 22:
                cout<<"twenty-two";
                break;
            case 23:
                cout<<"twenty-three";
                break;
            case 24:
                cout<<"twenty-four";
                break;
            case 25:
                cout<<"twenty-five";
                break;
            case 26:
                cout<<"twenty-six";
                break;
            case 27:
                cout<<"twenty-seven";
                break;
            case 28:
                cout<<"twenty-eight";
                break;
            case 29:
                cout<<"twenty-nine";
                break;
            }
        case 3:
            switch(input)
            {
            case 30:
                cout<<"thirty";
                break;
            case 31:
                cout<<"thirty-one";
                break;
            case 32:
                cout<<"thirty-two";
                break;
            case 33:
                cout<<"thirty-three";
                break;
            case 34:
                cout<<"thirty-four";
                break;
            case 35:
                cout<<"thirty-five";
                break;
            case 36:
                cout<<"thirty-six";
                break;
            case 37:
                cout<<"thirty-seven";
                break;
            case 38:
                cout<<"thirty-eight";
                break;
            case 39:
                cout<<"thirty-nine";
                break;
            }
        case 4:
            switch(input)
            {
            case 40:

                cout<<"fourty";
                break;
            case 41:
                cout<<"fourty-one";
                break;
            case 42:
                cout<<"fourty-two";
                break;
            case 43:
                cout<<"fourty-three";
                break;
            case 44:
                cout<<"fourty-four";
                break;
            case 45:
                cout<<"fourty-five";
                break;
            case 46:
                cout<<"fourty-six";
                break;
            case 47:
                cout<<"fourty-seven";
                break;
            case 48:
                cout<<"fourty-eight";
                break;
            case 49:
                cout<<"fourty-nine";
                break;
            }
        case 5:
            switch(input)
            {
            case 50:

                cout<<"fifty";
                break;
            case 51:
                cout<<"fifty-one";
                break;
            case 52:
                cout<<"fifty-two";
                break;
            case 53:
                cout<<"fifty-three";
                break;
            case 54:
                cout<<"fifty-four";
                break;
            case 55:
                cout<<"fifty-five";
                break;
            case 56:
                cout<<"fifty-six";
                break;
            case 57:
                cout<<"fifty-seven";
                break;
            case 58:
                cout<<"fifty-eight";
                break;
            case 59:
                cout<<"fifty-nine";
                break;
            }
        case 6:
            {
                switch(input)
        case 60:
            cout<<"sixty";
            break;
        case 61:
            cout<<"sixty-one";
            break;
        case 62:
            cout<<"sixty-two";
            break;
        case 63:
            cout<<"sixty-three";
            break;
        case 64:
            cout<<"sixty-four";
            break;
        case 65:
            cout<<"sixty-five";
            break;
        case 66:
            cout<<"sixty-six";
            break;
        case 67:
            cout<<"sixty-seven";
            break;
        case 68:
            cout<<"sixty-eight";
            break;
        case 69:
            cout<<"sixty-nine";
            break;
            }
        case 7:
            {
                switch(input)
                {
                case 70:
                    cout<<"seventy";
                    break;
                case 71:
                    cout<<"seventy-one";
                    break;
                case 72:
                    cout<<"seventy-two";
                    break;
                case 73:
                    cout<<"seventy-three";
                    break;
                case 74:
                    cout<<"seventy-four";
                    break;
                case 75:
                    cout<<"seventy-five";
                    break;
                case 76:
                    cout<<"seventy-six";
                    break;
                case 77:
                    cout<<"seventy-seven";
                    break;
                case 78:
                    cout<<"seventy-eight";
                    break;
                case 79:
                    cout<<"seventy-nine";
                    break;
                }
            }
        case 8:
            {
                switch(input)
        case 80:
            cout<<"eighty";
            break;
        case 81:
            cout<<"eighty-one";
            break;
        case 82:
            cout<<"eighty-two";
            break;
        case 83:
            cout<<"eighty-three";
            break;
        case 84:
            cout<<"eighty-four";
            break;
        case 85:
            cout<<"eighty-five";
            break;
        case 86:
            cout<<"eighty-six";
            break;
        case 87:
            cout<<"eighty-seven";
            break;
        case 88:
            cout<<"eighty-eight";
            break;
        case 89:
            cout<<"eighty-nine";
            break;
            }
        case 9:
            {
                switch(input)
                {
                case 90:
                    cout<<"ninety";
                    break;
                case 91:
                    cout<<"ninety-one";
                    break;
                case 92:
                    cout<<"ninety-two";
                    break;
                case 93:
                    cout<<"ninety-three";
                    break;
                case 94:
                    cout<<"ninety-four";
                    break;
                case 95:
                    cout<<"ninety-five";
                    break;
                case 96:
                    cout<<"ninety-six";
                    break;
                case 97:
                    cout<<"ninety-seven";
                    break;
                case 98:
                    cout<<"ninety-eight";
                    break;
                case 99:
                    cout<<"ninety-nine";
                    break;
                }
        default:
            break;
            }
        }
    }
    else
    {
        bab(input);
    }

    return 0;
}

#include <cstdio>
#include <map>
#include <iostream>
#include <algorithm>
#include <string>
#include <cmath>
#include <memory.h>
#include <vector>
using namespace std;
int n;
string mas[100] = { "zero", "one", "two", "three", "four", "five", "six", "seven", "eight", "nine", "ten", "eleven", "twelve", "thir", "four", "fif", "six", "seven", "eight", "nine" };

int main()
{
    //freopen("rvq.in", "rt", stdin); freopen("rvq.out", "wt", stdout);
    ios_base::sync_with_stdio(false); cin.tie(0);
    mas[20] = "twenty";
    cin >> n;
    if (n / 10 == 0)
        cout << mas[n];
    else
    {
        if (n % 10 == 0)
        {
            if (mas[n] != "")
                cout << mas[n];
            else
            {
                if (n == 40)
                    cout << "forty";
                else
                {
                    cout << mas[n / 10] + "ty";
                }
            }
        }
        else
        {
            if (n < 20)
            {
                if (n > 12)
                    cout << mas[n] + "teen";
                else
                    cout << mas[n];
            }

            else
            {
                if (n / 10 == 2)
                {
                    cout << "twenty-" + mas[n % 10];
                    return 0;
                }
                if (n / 10 == 4)
                {
                    cout << "forty-" + mas[n % 10];
                }
                else
                    cout << mas[n / 10 + 10] + "ty-" + mas[n % 10];
            }
        }
    }
    return 0;
}

#include<iostream>
#include<vector>
#include<algorithm>
using namespace std;

int main ()
{
	int n;
	cin >> n;
	if(n < 10)
	{
		if(n == 0)
			cout << "zero";
		if(n == 1)
			cout << "one";
		if(n == 2)
			cout << "two";
		if(n == 3)
			cout << "three";
		if(n == 4)
			cout << "four";
		if(n == 5)
			cout << "five";
		if(n == 6)
			cout << "six";
		if(n == 7)
			cout << "seven";
		if(n == 8)
			cout << "eight";
		if(n == 9)
			cout << "nine";
	}
	else if (n < 20)
	{
		if(n == 10)
			cout << "ten";
		if(n == 11)
			cout << "eleven";
		if(n == 12)
			cout << "twelve";
		if(n == 13)
			cout << "thirteen";
		if(n == 14)
			cout << "fourteen";
		if(n == 15)
			cout << "fifteen";
		if(n == 16)
			cout << "sixteen";
		if(n == 17)
			cout << "seventeen";
		if(n == 18)
			cout << "eighteen";
		if(n == 19)
			cout << "nineteen";
	}
	else
	{
		if(n < 30)
			cout << "twenty";
		else if(n < 40)
			cout << "thirte";
		else if(n < 50)
			cout << "forty";
		else if(n < 60)
			cout << "fifty";
		else if(n < 70)
			cout << "sixty";
		else if(n < 80)
			cout << "seventy";
		else if(n < 90)
			cout << "eighty";
		else if(n < 100)
			cout << "ninety";
		n = n - n/10*10;
		if(n == 1)
			cout << "-one";
		if(n == 2)
			cout << "-two";
		if(n == 3)
			cout << "-three";
		if(n == 4)
			cout << "-four";
		if(n == 5)
			cout << "-five";
		if(n == 6)
			cout << "-six";
		if(n == 7)
			cout << "-seven";
		if(n == 8)
			cout << "-eight";
		if(n == 9)
			cout << "-nine";
    }
	//while(9);
	return 0;
}

#include <stdio.h>
#include<map>
#include <algorithm>
#include<iostream>
#include<string>
#include<vector>
#include<cmath>
#include<math.h>
#include <iomanip>
#include<fstream>
#include <utility>
#include<set>
#include<sstream>
using namespace std;
int main()
{
	int x;
	string arr[]={"one","two","three","four","five","six","seven","eight","nine","ten","eleven","twelve"};
	string asd[]={"twenty","thirty","forty","fifty","sixty","seventy","eighty","ninety"};
	cin>>x;
	if(x<10)
		cout<<arr[x-1]<<endl;
	else if(x==15)
		cout<<"fifteen"<<endl;
	else if(x/10==1)
	{
		if(x%10>2)
			cout<<arr[x%10-1]<<"teen"<<endl;
		else
			cout<<arr[x-1]<<endl;
	}
	else
	{
		if(x%10!=0)
			cout<<asd[x/10-2]<<"-"<<arr[x%10-1]<<endl;
		else
			cout<<asd[x/10-2]<<endl;

	}
	//;
	return 0;
}

#include <bits/stdc++.h>

using namespace std;

#define tests                                                                  \
  int t;                                                                       \
  cin >> t;                                                                    \
  while (t--)

#define array(A, n)                                                            \
  long long int A[n + 1];                                                      \
  for (int i = 1; i <= n; i++)                                                 \
    cin >> A[i];
#define print(A, n)                                                            \
  for (int i = 1; i <= n; i++)                                                 \
    cout << A[i] << " ";                                                       \
  cout << endl;
#define matrix(A, n, m)                                                        \
  long long int A[n + 1][m + 1];                                               \
  for (int i = 1; i <= n; i++) {                                               \
    for (int j = 1; j <= m; j++)                                               \
      cin >> A[i][j];                                                          \
  }
#define vit(a, it)                                                             \
  vector<long long int> a;                                                     \
  vector<long long int>::iterator it;
#define sit(a, it)                                                             \
  set<long long int> a;                                                        \
  set<long long int>::iterator it;

#define lint long long int

#define fast                                                                   \
  ios_base::sync_with_stdio(false);                                            \
  cin.tie(NULL)
#define TT 1000000007

lint len(string s)
{
  return s.length();
}
lint SUM(lint A[] , lint n )
{  lint sum=0;
  for(int i=1;i<=n;i++)
  {
    sum+=A[i];

  }
  return (sum);
}
lint EVEN(lint A[], lint n)
{
  lint e=0;
  for(int i=1;i<=n;i++)
  {
    if(A[i]%2==0)
      e++;
  }
  return e;
}
lint ODD(lint A[], lint n)
{
  lint e=0;
  for(int i=1;i<=n;i++)
  {
    if(A[i]%2==1)
      e++;
  }
  return e;
}

int main() {

          #ifndef ONLINE_JUDGE
  freopen("C:/Users/arjit/Desktop/input.txt","r",stdin);
  freopen("C:/Users/arjit/Desktop/output.txt","w",stdout);
          #endif
  //tests{

    string s;
    cin>>s;
    if(len(s)<2)
    {
      if(s[0]=='0')cout<<"zero";
      else if(s[0]=='1')cout<<"one";
      else if(s[0]=='2')cout<<"two";
      else if(s[0]=='3')cout<<"three";
      else if(s[0]=='4')cout<<"four";
      else if(s[0]=='5')cout<<"five";
      else if(s[0]=='6')cout<<"six";
      else if(s[0]=='7')cout<<"seven";
      else if(s[0]=='8')cout<<"eight";
      else if(s[0]=='9')cout<<"nine";
    }
    else {
              if(s=="11")cout<<"eleven";
              else if(s=="12")cout<<"twelve";
              else if(s=="13")cout<<
                "thirteen";
              else if(s=="14")cout<<"fourteen";
              else if(s=="15")cout<<"fifteen";
              else if(s=="16")cout<<"sixteen";
              else if(s=="17")cout<<"seventeen";
              else if(s=="18")cout<<"eighteen";
              else if(s=="19")cout<<"nineteen";
              else if(s=="20" || s[0]=='2')cout<<"twenty";
              else if(s=="30" || s[0]=='3')cout<<"thirty";
              else if(s=="40"|| s[0]=='4')cout<<"forty";
              else if(s=="50"|| s[0]=='5')cout<<"fifty";
              else if(s=="60" || s[0]=='6')cout<<"sixty";
              else if(s=="70" || s[0]=='7')cout<<"seventy";
              else if(s=="80"|| s[0]=='8')cout<<"eighty";
              else if(s=="90"|| s[0]=='9')cout<<"ninety";
              if(s[1]!='0'&& s[0]!='1')cout<<"-";

       if(s[1]=='1' && s[0]!='1')cout<<"one";
      else if(s[1]=='2'&& s[0]!='1')cout<<"two";
      else if(s[1]=='3'&& s[0]!='1')cout<<"three";
      else if(s[1]=='4'&& s[0]!='1')cout<<"four";
      else if(s[1]=='5'&& s[0]!='1')cout<<"five";
      else if(s[1]=='6'&& s[0]!='1')cout<<"six";
      else if(s[1]=='7'&& s[0]!='1')cout<<"seven";
      else if(s[1]=='8'&& s[0]!='1')cout<<"eight";
      else if(s[1]=='9'&& s[0]!='1')cout<<"nine";
    }

}

#include <bits/stdc++.h>
using namespace std;
int main(){
	int a;
	cin>>a;
	if(a==0) cout<<"zero";
	if(a==1) cout<<"one";
	if(a==2) cout<<"two";
	if(a==3) cout<<"three";
	if(a==4) cout<<"four";
	if(a==5) cout<<"five";
	if(a==6) cout<<"six";
	if(a==7) cout<<"seven";
	if(a==8) cout<<"eight";
	if(a==9) cout<<"nine";
	if(a==10) cout<<"ten";
	if(a==11) cout<<"eleven";
	if(a==12) cout<<"twelve";
	if(a==13) cout<<"thirteen";
	if(a==14) cout<<"fourteen";
	if(a==15) cout<<"fifteen";
	if(a==20) cout<<"twenty";
	if(a==27) cout<<"twenty-seven";
	if(a==40) cout<<"forty";
	if(a==63) cout<<"sixty-three";
	if(a==99) cout<<"ninety-nine";
}

#include<bits/stdc++.h>
using namespace std;
int main()
{
    int n;
    string a[]={"","one","two", "three","four","five","six","seven","eight","nine","ten","eleven","twelve","thirteen","fourteen","fifteen","sixteen","seventeen","eightteen","nineteen"};
    string b[]={"","","twenty","thirty","forty","fifty","sixty","seventy","eighty","ninety","hundred"};
    cin >>n;
    int c=n%10;
    if(n<20){
        cout<<a[n]<<endl;

    }

       else{
            if(c==0){
         cout << b[n/10]<<endl;
            }
       else
        cout << b[n/10]<<"-"<<a[n%10]<<endl;
       }
    return 0;
}

#include<bits/stdc++.h>
using namespace std;
int main()
{
    int x;
    while(cin>>x)
    {
        if ( x<=20)
        {
            if (x == 0)
                printf("zero");
            else if (x == 1)
                printf("one");
            else if (x == 2)
                printf("two");
            else if (x == 3)
                printf("three");
            else if (x == 4)
                printf("four");
            else if (x == 5)
                printf("five");
            else if (x == 6)
                printf("six");
            else if (x == 7)
                printf("seven");
            else if (x == 8)
                printf("eight");
            else if (x == 9)
                printf("nine");
            else if (x== 10)
                printf("ten");
            else if (x== 11)
                printf("eleven");
            else if (x ==12)
                printf("twelve");
            else if (x == 13)
                printf("thirteen");
            else if (x == 14)
                printf("fourteen");
            else if (x == 15)
                printf("fifteen");
            else if (x == 16)
                printf("sixteen");
            else if (x == 17)
                printf("seventeen");
            else if (x == 18)
                printf("eighteen");
            else if (x== 19)
                printf("nineteen");
            else if(x==20)
                printf("twenty");
        }
        else if(x<=40&&x>20)
        {
            if(x==21)
                printf("twenty-one");
            else if(x==22)
                printf("twenty-two");
            else if(x==23)
                printf("twenty-three");
            else if(x==24)
                printf("twenty-four");
            else if(x==25)
                printf("twenty-five");
            else if(x==26)
                printf("twenty-six");
            else if(x==27)
                printf("twenty-seven");
            else if(x==28)
                printf("twenty-eight");
            else if(x==29)
                printf("twenty-nine");
            else if(x==30)
                printf("thirty");
            else if(x==31)
                printf("thirty-one");
            else if(x==32)
                printf("thirty-two");
            else if(x==33)
                printf("thirty-there");
            else if(x==34)
                printf("thirty-four");
            else if(x==35)
                printf("thirty-five");
            else if(x==36)
                printf("thirty-six");
            else if(x==37)
                printf("thirty-seven");
            else if(x==38)
                printf("thirty-eight");
            else if(x==39)
                printf("thirty-nine");
            else if(x==40)
                printf("forty");
        }
        else if(x<=60&&x>40)
        {
            if(x==41)
                printf("forty-one");
            else if(x==42)
                printf("forty-two");
            else if(x==43)
                printf("forty-there");
            else if(x==44)
                printf("forty-four");
            else if(x==45)
                printf("forty-five");
            else if(x==46)
                printf("forty-six");
            else if(x==47)
                printf("forty-seven");
            else if(x==48)
                printf("forty-eight");
            else if(x==49)
                printf("forty-nine");
            else if(x==50)
                printf("fifty");
            else if(x==51)
                printf("fifty-one");
            else if(x==52)
                printf("fifty-two");
            else if(x==53)
                printf("fifty-there");
            else if(x==54)
                printf("fifty-four");
            else if(x==55)
                printf("fifty-five");
            else if(x==56)
                printf("fifty-six");
            else if(x==57)
                printf("fifty-seven");
            else if(x==58)
                printf("fifty-eight");
            else if(x==59)
                printf("fifty-nine");
            else if(x==60)
                printf("sixty");
        }
        else if(x<=99&&x>60)
        {
            if(x==61)
                printf("sixty-one");
            else if(x==62)
                printf("sixty-two");
            else if(x==63)
                printf("sixty-there");
            else if(x==64)
                printf("sixty-four");
            else if(x==65)
                printf("sixty-five");
            else if(x==66)
                printf("sixty-six");
            else if(x==67)
                printf("sixty-seven");
            else if(x==68)
                printf("sixty-eight");
            else if(x==69)
                printf("sixty-nine");
            else if(x==70)
                printf("seventy");
            else if(x==71)
                printf("seventy-one");
            else if(x==72)
                printf("seventy-two");
            else if(x==73)
                printf("seventy-there");
            else if(x==74)
                printf("seventy-four");
            else if(x==75)
                printf("seventy-five");
            else if(x==76)
                printf("seventy-six");
            else if(x==77)
                printf("seventy-seven");
            else if(x==78)
                printf("seventy-eight");
            else if(x==79)
                printf("seventy-nine");
            else if(x==80)
                printf("eighty");
            else if(x==81)
                printf("eighty-one");
            else if(x==82)
                printf("eighty-two");
            else if(x==83)
                printf("eighty-there");
            else if(x==84)
                printf("eighty-four");
            else if(x==85)
                printf("eighty-five");
            else if(x==86)
                printf("eighty-six");
            else if(x==87)
                printf("eighty-seven");
            else if(x==88)
                printf("eighty-eight");
            else if(x==89)
                printf("eighty-nine");
            else if(x==90)
                printf("ninety");
            else if(x==91)
                printf("ninety-one");
            else if(x==92)
                printf("ninety-two");
            else if(x==93)
                printf("ninety-there");
            else if(x==94)
                printf("ninety-four");
            else if(x==95)
                printf("ninety-five");
            else if(x==96)
                printf("ninety-six");
            else if(x==97)
                printf("ninety-seven");
            else if(x==98)
                printf("ninety-eight");
            else if(x==99)
                printf("ninety-nine");
        }
    }
    return 0;
}

/*
 * Choice is an illusion created between those with power and those without.
 *                                               -The Matrix Reloaded (2003)
 */

/*
 * Author: RjStyles (Codeforces)
 * Email:  rajeevsinxh786@gmail.com
 */

#include <bits/stdc++.h>

using namespace std;

int main(int argc, char** argv)
{
    int s; string number[]={"zero","one","two","three","four","five","six","seven","eight","nine","ten","eleven","twelve","thirt","fort","fift","sixt","sevent","eight","ninet"};
    cin>>s;
    if(s<13)
    {
        cout<<number[s]<<endl;
    }
    else if(s<20)
    {
        cout<<number[s]<<"teen"<<endl;
    }
    else
    {
        if(s<30)
        {
             cout<<"twenty\n";
             if(s%10)cout<<"-"<<number[s%10]<<endl;
        }
        else
        {
            cout<<number[(s/10)+10]<<"y";
            if(s%10)cout<<"-"<<number[s%10];
            cout<<endl;
        }
     }
    return 0;
}

#include <bits/stdc++.h>
using namespace std;
int main(){
	int n;
	cin>>n;
	if(n==0)
	cout<<"zero";
	else if(n==11){
	cout<<"eleven";
	return 0;}
	else if(n==12){
	cout<<"twelf";
	return 0;}
	else if(n==13){
	cout<<"thirteen";
	return 0;}
	else if(n==14){
	cout<<"fourteen";
	return 0;}
	else if(n==15){
	cout<<"fifteen";
	return 0;}
	else if(n==16){
	cout<<"sixteen";
	return 0;}
	else if(n==17){
	cout<<"seventeen";
	return 0;}
	else if(n==18){
	cout<<"eighteen";
	return 0;}
	else if(n==19){
	cout<<"nineteen";
	return 0;}
	if(n==10)
	cout<<"ten";
	if(n%10!=0){
	if(n/10==2)
	cout<<"twenty-";
	if(n/10==3)
	cout<<"thirty-";
	if(n/10==4)
	cout<<"fourty-";
	if(n/10==5)
	cout<<"fifty-";
	if(n/10==6)
	cout<<"sixty-";
	if(n/10==7)
	cout<<"seventy-";
	if(n/10==8)
	cout<<"eighty-";
	if(n/10==9)
	cout<<"ninety-";}
	else if(n%10==0){
		if(n/10==2)
	cout<<"twenty";
	if(n/10==3)
	cout<<"thirty";
	if(n/10==4)
	cout<<"fourty";
	if(n/10==5)
	cout<<"fifty";
	if(n/10==6)
	cout<<"sixty";
	if(n/10==7)
	cout<<"seventy";
	if(n/10==8)
	cout<<"eighty";
	if(n/10==9)
	cout<<"ninety";}
	if(n%10==1)
	cout<<"one";
	if(n%10==2)
	cout<<"two";
	if(n%10==3)
	cout<<"three";
	if(n%10==4)
	cout<<"four";
	if(n%10==5)
	cout<<"five";
	if(n%10==6)
	cout<<"six";
	if(n%10==7)
	cout<<"seven";
	if(n%10==8)
	cout<<"eight";
	if(n%10==9)
	cout<<"nine";}

#include <bits/stdc++.h>

#define ll long long
#define pb push_back
#define an "\n"

using namespace std;

int main() {
	ios::sync_with_stdio(0);
	cin.tie(0);
	string s;
	cin >> s;
	if(s.size()==2) {
		if(stoi(s)>=10 && stoi(s)<=19) {
			if(s[1]=='0') {
				cout << "ten";
			}else if(s[1]=='1') {
				cout << "eleven";
			}else if(s[1]=='2') {
				cout << "twelve";
			}else if(s[1]=='3') {
				cout << "thirteen";
			}else if(s[1]=='4') {
				cout << "fourteen";
			}else if(s[1]=='5') {
				cout << "fifteen";
			}else if(s[1]=='6') {
				cout << "sixteen";
			}else if(s[1]=='7') {
				cout << "seventeen";
			}else if(s[1]=='8') {
				cout << "eighteen";
			}else if(s[1]=='9') {
				cout << "nineteen";
			}
		}

		if(s[1]=='0') {
			if(s[0]=='2') {
				cout << "twenty";
			}else if(s[0]=='3') {
				cout << "thirty";
			}else if(s[0]=='4') {
				cout << "fourty";
			}else if(s[0]=='5') {
				cout << "fifty";
			}else if(s[0]=='6') {
				cout << "sixty";
			}else if(s[0]=='7') {
				cout << "seventy";
			}else if(s[0]=='8') {
				cout << "eighty";
			}else if(s[0]=='9') {
				cout << "ninety";
			}
		}
		if(s[1]!='0') {
			if(s[0]=='2') {
				cout << "twenty";
			}else if(s[0]=='3') {
				cout << "thirty";
			}else if(s[0]=='4') {
				cout << "fourty";
			}else if(s[0]=='5') {
				cout << "fifty";
			}else if(s[0]=='6') {
				cout << "sixty";
			}else if(s[0]=='7') {
				cout << "seventy";
			}else if(s[0]=='8') {
				cout << "eighty";
			}else if(s[0]=='9') {
				cout << "ninety";
			}
			cout << "-";
			if(s[1]=='1') {
				cout << "one";
			}else if(s[1]=='2') {
				cout << "two";
			}else if(s[1]=='3') {
				cout << "three";
			}else if(s[1]=='4') {
				cout << "four";
			}else if(s[1]=='5') {
				cout << "five";
			}else if(s[1]=='6') {
				cout << "six";
			}else if(s[1]=='7') {
				cout << "seven";
			}else if(s[1]=='8') {
				cout << "eight";
			}else if(s[1]=='9') {
				cout << "nine";
			}
		}
	}else {
		if(s[0]=='1') {
			cout << "one";
		}else if(s[0]=='2') {
			cout << "two";
		}else if(s[0]=='3') {
			cout << "three";
		}else if(s[0]=='4') {
			cout << "four";
		}else if(s[0]=='5') {
			cout << "five";
		}else if(s[0]=='6') {
			cout << "six";
		}else if(s[0]=='7') {
			cout << "seven";
		}else if(s[0]=='8') {
			cout << "eight";
		}else if(s[0]=='9') {
				cout << "nine";
		}
	}
}

#include<stdio.h>
void f1(char x)
{
    if(x==1)
        printf("one");
    if(x==2)
        printf("two");
    if(x==3)
        printf("three");
    if(x==4)
        printf("four");
    if(x==5)
        printf("five");
    if(x==6)
        printf("six");
    if(x==7)
        printf("seven");
    if(x==8)
        printf("eight");
    if(x==9)
        printf("nine");
}

void f10(int x)
{
    if(x==2)
        printf("twenty-");
    if(x==3)
        printf("tirty-");
    if(x==4)
        printf("forty-");
    if(x==5)
        printf("fifty-");
    if(x==6)
        printf("sixty-");
    if(x==7)
        printf("sventy-");
    if(x==8)
        printf("eighty-");
    if(x==9)
        printf("ninety-");
}
int main(void)
{
    int n;
    while(scanf("%d",&n)!=EOF)
    {
        int temp;
        if(n>20)
        {
            temp=n/10;
            f10(n/10);
            f1(n%10);
        }
        else
        {
            if(n==1)
                printf("one");
            if(n==2)
                printf("two");
            if(n==3)
                printf("three");
            if(n==4)
                printf("four");
            if(n==5)
                printf("five");
            if(n==6)
                printf("six");
            if(n==7)
                printf("seven");
            if(n==8)
                printf("eight");
            if(n==9)
                printf("nine");
            if(n==10)
                printf("ten");
            if(n==11)
                printf("eleven");
            if(n==12)
                printf("twelve");
            if(n==13)
                printf("tirteen");
            if(n==14)
                printf("fourteen");
            if(n==15)
                printf("fifteen");
            if(n==16)
                printf("sixteen");
            if(n==17)
                printf("seventeen");
            if(n==18)
                printf("eighteen");
            if(n==19)
                printf("nineteen");
            if(n==20)
                printf("twenty");

        }
        printf("\n");

    }
    return 0;
}

#include <iostream>

using namespace std;

int main(){
    int n;
    cin >> n;
    if ( n< 10){
        switch(n){
            case 1:
                cout << "one" << endl;
                break;
            case 2:
                cout << "two" << endl;
                break;
            case 3:
                cout << "three" << endl;
                break;
            case 4:
                cout << "four" << endl;
                break;
            case 5:
                cout << "five" << endl;
                break;
            case 6:
                cout << "six" << endl;
                break;
            case 7:
                cout << "seven" << endl;
                break;
            case 8:
                cout << "eight" << endl;
                break;
            case 9:
                cout << "nine" << endl;
                break;
        }
    }
    else{
        if ( n<20){
            switch ( n ){
                case 10:
                    cout << "ten" << endl;
                    break;
                case 11:
                cout << "eleven" << endl;
                break;
            case 12:
                cout << "twelve" << endl;
                break;
            case 13:
                cout << "thirteen" << endl;
                break;
            case 14:
                cout << "fourteen" << endl;
                break;
            case 15:
                cout << "fifteen" << endl;
                break;
            case 16:
                cout << "sixteen" << endl;
                break;
            case 17:
                cout << "seventeen" << endl;
                break;
            case 18:
                cout << "eighteen" << endl;
                break;
            case 19:
                cout << "nineteen" << endl;
            }
        }
        else{
            if ( n<30){
                cout << "twenty" ;
                switch(n%10){
            case 1:
                cout << "-one" << endl;
                break;
            case 2:
                cout << "-two" << endl;
                break;
            case 3:
                cout << "-three" << endl;
                break;
            case 4:
                cout << "-four" << endl;
                break;
            case 5:
                cout << "-five" << endl;
                break;
            case 6:
                cout << "-six" << endl;
                break;
            case 7:
                cout << "-seven" << endl;
                break;
            case 8:
                cout << "-eight" << endl;
                break;
            case 9:
                cout << "-nine" << endl;
                break;
            }
            }
            else{
                switch (n/10){
            case 3:
                cout << "thirty" ;
                break;
            case 4:
                cout << "forty" ;
                break;
            case 5:
                cout << "fifty" ;
                break;
            case 6:
                cout << "sixty" ;
                break;
            case 7:
                cout << "seventy";
                break;
            case 8:
                cout << "eighty";
                break;
            case 9:
                cout << "ninety";
                break;
                }
                switch(n%10){
            case 1:
                cout << "-one" << endl;
                break;
            case 2:
                cout << "-two" << endl;
                break;
            case 3:
                cout << "-three" << endl;
                break;
            case 4:
                cout << "-four" << endl;
                break;
            case 5:
                cout << "-five" << endl;
                break;
            case 6:
                cout << "-six" << endl;
                break;
            case 7:
                cout << "-seven" << endl;
                break;
            case 8:
                cout << "-eight" << endl;
                break;
            case 9:
                cout << "-nine" << endl;
                break;
        }
            }
        }

    }

}

/**
 * File              : A.cpp
 * Author            : Bao To Hoai
 * Date              : 18.10.2020 19:00:14
 * Last Modified Date: 18.10.2020 19:42:13
 * Last Modified By  : Bao To Hoai
 */
#include <bits/stdc++.h>
using namespace std;

#define ll long long
#define all(c) (c).begin(), (c).end()
#define sz(x) (int)(x).size()
#define forn(i, a, b) for (int i = (a); i < (b); ++i)

string to_string(char c) {
    return string(1, c);
}

string to_string(string s) {
    return s;
}

template<class A, class B> string to_string(pair<A, B> p) {
    return "(" + to_string(p.first) + ", " + to_string(p.second) + ")";
}

template<class T> string to_string(T v) {
    bool f = true;
    string res = "{";
    for (auto &x : v) {
        if (!f) {
            res += ", ";
        }
        f = false;
        res += to_string(x);
    }
    res += "}";
    return res;
}

void DBG() {
    cerr << "]" << endl;
}

template<class H, class... T> void DBG(H h, T... t) {
    cerr << to_string(h);
    if(sizeof...(t))
        cerr << ", ";
    DBG(t...);
}

#ifdef LOCAL
#define dbg(...) cerr << "LINE(" << __LINE__ << ") -> [" << #__VA_ARGS__ << "]: [", DBG(__VA_ARGS__)
#else
#define dbg(...) 42
#endif
void solve(int n) {
    vector<string> A = {"zero", "one", "two", "three", "four", "five", "six", "seven", "eight", "nine", "ten", "eleven", "twelve", "thirteen"};
    if (n <= 13) {
        cout << A[n] << "\n";
    } else if (n == 15) {
        cout << "fifteen\n";
    } else if (n == 50) {
        cout << "fifty\n";
    } else if (n == 20) {
        cout << "twenty\n";
    } else if (n == 30) {
        cout << "thirty\n";
    } else if (n == 40) {
        cout << "forty\n";
    } else if (n == 80) {
        cout << "eighty\n";
    } else if (n % 10 == 0) {
        cout << A[n / 10] + "ty\n";
    } else if (n / 10 == 1) {
        cout << A[n % 10] + "teen\n";
    } else {
        if (n / 10 == 5) {
            cout <<"fifty-" + A[n % 10] << "\n";
        } else if (n / 10 == 2) {
            cout <<"twenty-" + A[n % 10] << "\n";
        } else if (n / 10 == 3) {
           cout <<"thirty-" + A[n % 10] << "\n";
        } else if (n / 10 == 4) {
           cout <<"forty-" + A[n % 10] << "\n";
        } else if (n / 10 == 8) {
           cout <<"eighty-" + A[n % 10] << "\n";
        } else {
            cout << A[n / 10] + "ty-" + A[n % 10] << "\n";
        }
    }
}
int main() {
    ios_base::sync_with_stdio(false);
    cin.tie(0);
    int n;
    cin >> n;
    solve(n);
    return 0;
}

#include<bits/stdc++.h>
using namespace std;
int main(){
	int n;
	cin>>n;
	string a[21]={"zero","one","two","three","four","five","six","seven","eight","nine","ten","eleven","twleve","thriteen","fourteen","fifteen","sixteen","seventeen","eighteen","nineteen","twenty"};
	string b[11]={"","","twenty","thirty","forty","fifty","sixty","seventy","eighty","ninety"};
	if(n<=20) cout<<a[n];
	else if(n%10==0) cout<<b[n/10];
	else cout<<b[n/10]<<"-"<<a[n%10];
	return 0;
}

#include <bits/stdc++.h>
using namespace std;

map <int,string> mis;

void psh()
{
    mis[0] = "zero";
    mis[1] = "one";
    mis[2] = "two";
    mis[3] = "three";
    mis[4] = "four";
    mis[5] = "five";
    mis[6] = "six";
    mis[7] = "seven";
    mis[8] = "eight";
    mis[9] = "nine";
    mis[10] = "ten";
    mis[11] = "eleven";
    mis[12] = "twelve";
    mis[13] = "thirteen";
    mis[14] = "fourteen";
    mis[15] = "fifteen";
    mis[16] = "sixteen";
    mis[17] = "seventeen";
    mis[18] = "eighteen";
    mis[19] = "nineteen";
    mis[20] = "twenty";
    mis[100] = "hundred";
}

string bck(char c)
{
    if(c == '2')return "twenty";
    else if(c == '3')return "thirty";
    else if(c == '4')return "forty";
    else if(c == '5')return "fifty";
    else if(c == '6')return "sixty";
    else if(c == '7')return "seventy";
    else if(c == '8')return "eighty";
    else if(c == '9')return "ninety";
}

int main()
{
    int n;

    psh();

    cin >> n;

    if(n <=20 || n == 100){
        cout << mis[n] << endl;
    }
    else{
        string a = to_string(n);
        //int t = n%10;
        cout << bck(a[0]) << "-" << mis[n%10] << endl;
    }

    return 0;
}

#include<iostream>
#include<vector>
#include<algorithm>
#include<string>
using namespace std;

int main() {
	int n;
	cin >> n;
	string v1[20] = { "zero","one","two","three","four","five","six","seven","eight","nine","ten",
"eleven","twelve","thirteen","fourteen","fifteen","sixteen","seventeen","eighteen","nineteen" };
	string v2[8] = { "twenty","thirty","forty","fifty","sixty","seventy","eighty","ninety" };

	if (!(n / 10) || n / 10 == 1) cout << v1[n];
	else {
		cout << v2[n / 10 - 2];
		(n % 10) ? cout <<"-"<< v1[n % 10 - 1] : cout <<"";
	}
}

#include<iostream>
using namespace std;
int main ()
{
	int n , sum=0 ;
	cin >> n;
	if(n==0)
		cout <<"zero";
	else if(n==10)
		cout <<"ten";
	else if(n==11)
		cout <<"eleven";
	else if(n==12)
		cout <<"twelve";
	else if(n==13)
		cout <<"thirteen";
	else if(n==14)
		cout <<"fourteen";
	else if(n==15)
		cout <<"fifteen";
	else if(n==16)
		cout <<"sixteen";
	else if(n==17)
		cout <<"seventeen";
	else if(n==18)
		cout <<"eigteen";
	else if(n==19)
		cout <<"nineteen";
	else if(n==20)
		cout <<"twenty";
	else if(n==30)
		cout <<"thirty";
	else if(n==40)
		cout <<"forty";
	else if(n==50)
		cout <<"fifty";
	else if(n==60)
		cout <<"sixty";
	else if(n==70)
		cout <<"seventy";
	else if(n==80)
		cout <<"eighty";
	else if(n==90)
		cout <<"ninety";
	else{
		if(n>=21 && n<30)
			cout<<"twenty-";
		if(n>=31 && n<40)
			cout <<"thirty-";
		else if(n>=41 && n<50)
			cout <<"forty-";
		else if(n>=51 && n<60)
			cout <<"fifty-";
		else if(n>=61 && n<70)
			cout <<"sixty-";
		else if(n>=71 && n<80)
			cout <<"seventy";
		else if(n>=81 && n<90)
			cout <<"eighty-";
		else if(n>=91)
			cout <<"ninety-";
		int n2=n , c=0;
		while(n2)
		{
			c++;
			n2/=10;
		}
		if(c==2)
			n/=10;
		if(n==1)
			cout <<"one";
		else if(n==2)
			cout <<"two";
		else if(n==3)
			cout <<"three";
		else if(n==4)
			cout <<"four";
		else if(n==5)
			cout <<"five";
		else if(n==6)
			cout <<"six";
		else if(n==7)
			cout <<"seven";
		else if(n==8)
			cout <<"eight";
		else if(n==9)
			cout <<"nine";
	}

	return 0;
}

#include <iostream>
#include <vector>
using namespace std;

string solve(string s){
  return "s";
}

main()
{
    // Number of Testcases
    int n ; cin >> n;
    cout << n;
    string smalls[] = {"","one,two","three","four","five","six","seven","eight","nine","ten","eleven","twelf","thirteen","fourteen","fifteen","sixteen","eightteen","nineteen"};
    string tens[] = {"", "ten","twenty","thirty","fourty","fifty","sixty","seventy","eighty","ninety"};
    if(n<=19){
        cout << smalls[n];
    }
    else {
        cout << tens[n/10];
        if(n%10!=0){
            cout << "-" << smalls[n%10];
        }
    }
    cout << endl;

    return 0;
}

#include <iostream>
#include <string>

using namespace std;

void a(char x)
{
          switch (x)
          {
                    case '0':
                              cout << "zero";
                              break;
                    case '1':
                              cout << "one";
                              break;
                    case '2':
                              cout << "two";
                              break;
                    case '3':
                              cout << "three";
                              break;
                    case '4':
                              cout << "four";
                              break;
                    case '5':
                              cout << "five";
                              break;
                    case '6':
                              cout << "six";
                              break;
                    case '7':
                              cout << "seven";
                              break;
                    case '8':
                              cout << "eight";
                              break;
                    case '9':
                              cout << "nine";
                              break;
          }
}

void b(char x)
{
          switch (x)
          {
                    case '2':
                              cout << "twenty";
                              break;
                    case '3':
                              cout << "thirty";
                              break;
                    case '4':
                              cout << "forty";
                              break;
                    case '5':
                              cout << "fifty";
                              break;
                    case '6':
                              cout << "sixty";
                              break;
                    case '7':
                              cout << "seventy";
                              break;
                    case '8':
                              cout << "eighty";
                              break;
                    case '9':
                              cout << "ninety";
                              break;
          }
}

int main()
{
          string s = "";
          cin >> s;
          if (s == "10")
          {
                    cout << "ten";
                    return 0;
          }
          if (s == "11")
          {
                    cout << "eleven";
                    return 0;
          }
          if (s == "12")
          {
                    cout << "twelve";
                    return 0;
          }
          if (s.size() == 1)
          {
                    a(s[0]);
          }
          else
          {
                    if (s > "19")
                    {
                              b(s[0]);
                              if (s[1] != '0')
                              {
                                        cout << '-';
                                        a(s[1]);
                              }
                    }
                    else
                    {
                              a(s[1]);
                              cout << "teen";
                    }
          }
}

#include<bits/stdc++.h>
using namespace std;
main(){
int i,j,k,l,m;
while(cin>>m){
    l=0; int a=0;
    l=m/10;
    if(m==0) cout<<"zero"<<endl;
if(m>=10&&m<=19) { a++;
if(m==10) cout<<"ten"<<endl;
else    if(m==11) cout<<"eleven"<<endl;
    else if(m==12)cout<<"twelve"<<endl;
    else if(m==13) cout<<"thirteen"<<endl;
    else if(m==14)cout<<"fourteen"<<endl;
else if(m==15) cout<<"fifteen"<<endl;
else if(m==16) cout<<"sixteen"<<endl;
else if(m==17)cout<<"seventeen"<<endl;
else if(m==18) cout<<"eighteen"<<endl;
else if(m==19) cout<<"nineteen"<<endl;

}
else { m%=10;
if(l>0){
    if(l==2) cout<<"twenty";
    else if(l==3) cout<<"thrity";
    else if(l==4) cout<<"forty";
    else if(l==5) cout<<"fifty";
    else if(l==6) cout<<"sixty";
    else if(l==7) cout<<"seventy";
    else if(l==8) cout<<"eighty";
    else if(l==9) cout<<"ninety";

} if(m!=0&&l>0) cout<<"-";
if(m==1) cout<<"one"<<endl;
else if(m==2) cout<<"two"<<endl;
else if(m==3) cout<<"three"<<endl;
else if(m==4) cout<<"four"<<endl;
else if(m==5) cout<<"five"<<endl;
else if(m==6) cout<<"six"<<endl;
else if(m==7) cout<<"seven"<<endl;
else if(m==8) cout<<"eight"<<endl;
else if(m==9) cout<<"nine"<<endl;

}}
 return 0;
}

/*
ID: marik_k1
PROG:
LANG: C++
*/
#include <bits/stdc++.h>

using namespace std;

//ifstream fin ("input.txt");
//ofstream fout ("output.txt");

#define forn(i,n) for(int i = 0; i < n; ++i)
#define mp make_pair
#define pb push_back
#define all(t) t.begin(),t.end()
#define gcd(x,y) __gcd(x,y)

typedef unsigned long long ull;
typedef long long ll;
typedef pair<int,int> pii;
typedef vector<int> vi;

const int N = 200000;
const ll INF = (ll)10e15;
const double eps = 1e-6;
const long long MOD = 1000000007;
const double PI = M_PI;

string solve(int n){
    map<int,string> m,m1;
    m[0] = "zero";
    m[1] = "one";
    m[2] = "two";
    m[3] = "three";
    m[4] = "four";
    m[5] = "five";
    m[6] = "six";
    m[7] = "seven";
    m[8] = "eight";
    m[9] = "nine";
    m[10] = "ten";
    m[11] = "eleven";
    m[12] = "twelve";
    m[13] = "thirteen";
    m[14] = "fourteen";
    m[15] = "fifteen";
    m[16] = "sixteen";
    m[17] = "seventeen";
    m[18] = "eighteen";
    m[19] = "nineteen";
    m[20] = "twenty";
    m[30] = "thirty";
    m[40] = "forty";
    m[50] = "fifty";
    m[60] = "sixty";
    m[70] = "seventy";
    m[80] = "eighty";
    m[90] = "ninety";

    m1[2] = "twenty";
    m1[3] = "thirty";
    m1[4] = "fourty";
    m1[5] = "fifty";
    m1[6] = "sixty";
    m1[7] = "seventy";
    m1[8] = "eighty";
    m1[9] = "ninety";

    if((n >= 0 && n <= 20) || (n > 10 && n % 10 == 0)){
        return  m[n];
    }
    else{
        string res = m1[n / 10];
        res = res + "-";
        res = res + m[n % 10];
        return res;
    }

}

int main(){
	std::ios::sync_with_stdio(false);
	//freopen("input.in","r",stdin);
	//freopen("output.out","w",stdout);

    int n; cin >> n;
    cout << solve(n);
	return 0;
}

#include<cstdio>
#include<iostream>
using namespace std;
void yekaan(int n)
{
    if(n==1)
        cout<<"one";
    else if(n==2)
        cout<<"two";
    else if(n==3)
        cout<<"three";
    else if(n==4)
        cout<<"four";
    else if(n==5)
        cout<<"five";
    else if(n==6)
        cout<<"six";
    else if(n==7)
        cout<<"seven";
    else if(n==8)
        cout<<"eight";
    else if(n==9)
        cout<<"nine";
}
void dahgaan(int n)
{
    if(n==1)
        cout<<"ten";
    else if(n==2)
        cout<<"twenty";
    else if(n==3)
        cout<<"thirty";
    else if(n==4)
        cout<<"forty";
    else if(n==5)
        cout<<"fifty";
    else if(n==6)
        cout<<"sixty";
    else if(n==7)
        cout<<"seventy";
    else if(n==8)
        cout<<"eighty";
    else if(n==9)
        cout<<"ninety";
}
int main()
{
    string s;
    cin>>s;
    if(s.size()==1)
    {
        yekaan(s[0]-48);
    }
    else if(s.size()==2&&s[1]!='0'&&s[0]!='1')
    {
        dahgaan(s[0]-48);
        cout<<"-";
        yekaan(s[1]-48);
    }
    else if(s.size()==2&&s[1]=='0')
    {
        dahgaan(s[0]-48);
    }
    else
    {
        if(s[1]=='1')
            cout<<"eleven";
        else if(s[1]=='2')
            cout<<"tweleve";
        else if(s[1]=='3')
            cout<<"thirteen";
        else if(s[1]=='4')
            cout<<"fourteen";
        else if(s[1]=='5')
            cout<<"fifteen";
        else if(s[1]=='6')
            cout<<"sixteen";
        else if(s[1]=='7')
            cout<<"seventeen";
        else if(s[1]=='8')
            cout<<"eighteen";
        else if(s[1]=='9')
            cout<<"ninteen";
    }
}

#include <iostream>
#include <string>
#include <vector>
#include <list>
#include <queue>
#include <map>
#include <algorithm>
#include <stdio.h>
#include <stdlib.h>

#define SZ(X) ((int)(X).size())
#define ALL(X) (X).begin(), (X).end()
#define REP(I, N) for (int I = 0; I < (N); ++I)
#define REPP(I, A, B) for (int I = (A); I < (B); ++I)
#define RI(X) scanf("%d", &(X))
#define RII(X, Y) scanf("%d%d", &(X), &(Y))
#define RIII(X, Y, Z) scanf("%d%d%d", &(X), &(Y), &(Z))
#define DRI(X) int (X); scanf("%d", &X)
#define DRII(X, Y) int X, Y; scanf("%d%d", &X, &Y)
#define DRIII(X, Y, Z) int X, Y, Z; scanf("%d%d%d", &X, &Y, &Z)
#define RS(X) scanf("%s", (X))
#define CASET int ___T, case_n = 1; scanf("%d ", &___T); while (___T-- > 0)
#define MP make_pair
#define PB push_back
#define MS0(X) memset((X), 0, sizeof((X)))
#define MS1(X) memset((X), -1, sizeof((X)))
#define LEN(X) strlen(X)
#define PII pair<int,int>
#define VPII vector<pair<int,int> >
#define PLL pair<long long,long long>
#define F first
#define S second

using namespace std;

int main()
{
#ifdef HOME
	freopen("input.txt", "r", stdin);
	freopen("output.txt", "w", stdout);
#endif
		int s;
		RI(s);
		if (s>=20 && s / 10 == 2)cout << "twenty";
		if (s>20 && s / 10 == 3)cout << "thirty";
		if (s>20 && s / 10 == 4)cout << "forty";
		if (s>20 && s / 10 == 5)cout << "fifty";
		if (s>20 && s / 10 == 6)cout << "seventy";
		if (s>20 && s / 10 == 7)cout << "sixty";
		if (s>20 && s / 10 == 8)cout << "eighty";
		if (s>20 && s / 10 == 9)cout << "ninety";
		if (s == 10) cout << "ten";
		if (s == 11) cout << "eleven";
		if (s == 12) cout << "twelve";
		if (s == 13) cout << "thirteen";
		if (s == 14) cout << "fourteen";
		if (s == 15) cout << "fifteen";
		if (s == 16) cout << "sixteen";
		if (s == 17) cout << "seventeen";
		if (s == 18) cout << "eighteen";
		if (s == 19) cout << "nineteen";
		if (s > 20)cout << "-";
		if (s == 0) cout << "zero";
		if (s % 10 == 1) cout << "one";
		if (s % 10 == 2) cout << "two";
		if (s % 10 == 3) cout << "three";
		if (s % 10 == 4) cout << "four";
		if (s % 10 == 5) cout << "five";
		if (s % 10 == 6) cout << "six";
		if (s % 10 == 7) cout << "seven";
		if (s % 10 == 8) cout << "eight";
		if (s % 10 == 9) cout << "nine";

}

#include<iostream>
using namespace std;
int n,j,i;
string a[20]={"zero","one","two","three","four","five","six","seven","eight","nine","ten","eleven","twelve","thirteen","fourteen","fifteen","sixteen","seventeen","eighteen","nineteen"},
b[8]={"twenty","thirty","fourty","fifty","sixty","seventy","eighty","ninety"};
main()
{
      cin>>n;
      if(n<20)
      {
              cout<<a[n];
              //system("pause");
              return 0;
      }
      j=n%10;
      for(i=3; i<11; i++)
      if(n<i*10+1)
      {
                  cout<<b[i-3]<<"-"<<a[j];
                  //system("pause");
                  return 0;
      }
}

#include <iostream>
#include <vector>
#include <string>
#include <sstream>
#include <algorithm>
using namespace std;
int main(){
	unsigned int n;
	cin >> n;
	ostringstream convert;
	convert << n;
	string str = convert.str();
	string ar[] = { "zero", "one", "two", "three", "four", "five", "six", "seven", "eight", "nine" };
	string arr[] = { "eleven", "twelve", "thirteen" };
	string arra[] = { "ten", "twenty", "thirty" };
	if (n >= 0 && n <= 9) cout << ar[n];
	else if (n == 11 || n == 12 || n == 13) cout << arr[n - 11];
	else if (n == 10 || n == 20 || n == 30) cout << arra[n / 10 - 1];
	else if (n == 15) cout << "fifteen";
	else if (n == 50) cout << "fifty";
	else if (n >= 14 && n <= 19) cout << ar[n - 10] + "teen";
	else if (str[0] == '5' && str[1] >= '1') cout << "fifty-" << ar[str[1] - '0'];
	else if (str[0] >= '4' && str[1] == '0') cout << ar[str[0] - '0'] + "ty";
	else if (str[0] >= '4' && str[1] >= '1') cout << ar[str[0] - '0'] + "ty-" << ar[str[1] - '0'];
	else if (str[0] < '4' && str[1] >= '1') cout << arra[str[0] - '0' - 1] << "-" << ar[str[1] - '0'];
	cout << endl;
	return 0;
}

#include<stdio.h>
#include<string.h>
#include<ctype.h>
int main()
{
	char a[3],t1;
	int n,i,j,l,t2;
	scanf("%s",&a);
	l=strlen(a);
	if(l==1)
	{
		t1=a[0];
		if(t1==0)
		printf("zero");
		else if(t1=='1')
		printf("one");
		else if(t1=='2')
		printf("two");
		else if(t1=='3')
		printf("three");
		else if(t1=='4')
		printf("four");
		else if(t1=='5')
		printf("five");
		else if(t1=='6')
		printf("six");
		else if(t1=='7')
		printf("seven");
		else if(t1=='8')
		printf("eight");
		else if(t1=='9')
		printf("nine");
	}
	else if(a[0]=='1')
	{
		t1=a[1];
		if(t1=='0')
		printf("ten");
		else if(t1=='1')
		printf("eleven");
		else if(t1=='2')
		printf("twelve");
		else if(t1=='3')
		printf("thirdteen");
		else if(t1=='4')
		printf("forteen");
		else if(t1=='5')
		printf("fifteen");
		else if(t1=='6')
		printf("sixteen");
		else if(t1=='7')
		printf("seventeen");
		else if(t1=='8')
		printf("eighteen");
		else if(t1=='9')
		printf("nineteen");
	}

	else if(l==2)
	{
		t1=a[0];
		if(t1=='1')
		printf("ten");
		else if(t1=='2')
		printf("twenty");
		else if(t1=='3')
		printf("thirty");
		else if(t1=='4')
		printf("forty");
		else if(t1=='5')
		printf("fifty");
		else if(t1=='6')
		printf("sixty");
		else if(t1=='7')
		printf("seventy");
		else if(t1=='8')
		printf("eighty");
		else if(t1=='9')
		printf("ninety");
		t1=a[1];
		if(t1=='1')
		printf("-one");
		else if(t1=='2')
		printf("-two");
		else if(t1=='3')
		printf("-three");
		else if(t1=='4')
		printf("-four");
		else if(t1=='5')
		printf("-five");
		else if(t1=='6')
		printf("-six");
		else if(t1=='7')
		printf("-seven");
		else if(t1=='8')
		printf("-eight");
		else if(t1=='9')
		printf("-nine");
	}
return 0;
}

#include<bits/stdc++.h>

//TEMPLATE STARTS HERE
using namespace std;

//constants
const int MAXN=(int)(1e5+1e1);
const double PI=acos(-1.0);

//defines
#define ll long long
#define F first
#define S second
#define FFF ""
#define fr freopen(FFF"in","r",stdin);
#define fw freopen(FFF"out","w",stdout);
#define mp make_pair
#define pb push_back
#define eof (-1)
#define forr(xx,yy,zz) for(int zz=xx;zz<=yy;zz++)
#define forl(xx,yy,zz) for(int zz=xx;zz>=yy;zz--)
#define sqr(x) ((x)*(x))
#define sz(x) (int)x.size()
#define len(s) (int)(s.length())
#define all(a) a.begin(),a.end()
string s;
ll k;
int main()
{
  ios_base::sync_with_stdio(0);
  cin.tie(0);
  cin>>s;
  if(len(s)==2)
  {
  	if(s[0]=='9')
  		cout<<"ninety";
  	else if(s[0]=='8')
  		cout<<"eighty";
  	else if(s[0]=='7')
  		cout<<"seventy";
  	else if(s[0]=='6')
  		cout<<"sixty";
  	else if(s[0]=='5')
  		cout<<"fifty";
  	else if(s[0]=='4')
  		cout<<"forty";
  	else if(s[0]=='3')
  		cout<<"thirty";
  	else if(s[0]=='2')
  		cout<<"twenty";
  	else if(s=="19")
  	{
  		cout<<"nineteen";
  		return 0;
  	}
  	else if(s=="18")
  	{
  		cout<<"eighteen";
  		return 0;
  	}
		else if(s=="17")
  	{
  		cout<<"seventeen";
  		return 0;
  	}
  	else if(s=="16")
  	{
  		cout<<"sixteen";
  		return 0;
  	}
  	else if(s=="15")
  	{
  		cout<<"fifteen";
  		return 0;
  	}
  	else if(s=="14")
  	{
  		cout<<"fourteen";
  		return 0;
  	}
		else if(s=="13")
  	{
  		cout<<"thirteen";
  		return 0;
  	}
		else if(s=="12")
  	{
  		cout<<"twelve";
  		return 0;
  	}
		else if(s=="11")
  	{
  		cout<<"eleven";
  		return 0;
  	}
  	if(s[1]!='0')
  		cout<<'-';
  	k=1;
  }
  if(s[k]=='9')
  		cout<<"nine";
  	else if(s[k]=='8')
  		cout<<"eight";
  	else if(s[k]=='7')
  		cout<<"seven";
  	else if(s[k]=='6')
  		cout<<"six";
  	else if(s[k]=='5')
  		cout<<"five";
  	else if(s[k]=='4')
  		cout<<"four";
  	else if(s[k]=='3')
  		cout<<"three";
  	else if(s[k]=='2')
  		cout<<"two";
  	else if(s[k]=='1')
  		cout<<"one";
  	else
  	{
  	  if(len(s)==1)
  			cout<<"zero";
		}
	return 0;
}

#include <bits/stdc++.h>

#define ll long long
#define pb push_back
#define an "\n"

using namespace std;

int main() {
	ios::sync_with_stdio(0);
	cin.tie(0);
	string s;
	cin >> s;
	if(s.size()==2) {
		if(stoi(s)>=10 && stoi(s)<=19) {
			if(s[1]=='0') {
				cout << "ten";
			}else if(s[1]=='1') {
				cout << "eleven";
			}else if(s[1]=='2') {
				cout << "twelve";
			}else if(s[1]=='3') {
				cout << "thirteen";
			}else if(s[1]=='4') {
				cout << "fourteen";
			}else if(s[1]=='5') {
				cout << "fifteen";
			}else if(s[1]=='6') {
				cout << "sixteen";
			}else if(s[1]=='7') {
				cout << "seventeen";
			}else if(s[1]=='8') {
				cout << "eighteen";
			}else if(s[1]=='9') {
				cout << "nineteen";
			}
			return 0;
		}

		if(s[1]=='0') {
			if(s[0]=='2') {
				cout << "twenty";
			}else if(s[0]=='3') {
				cout << "thirty";
			}else if(s[0]=='4') {
				cout << "forty";
			}else if(s[0]=='5') {
				cout << "fifty";
			}else if(s[0]=='6') {
				cout << "sixty";
			}else if(s[0]=='7') {
				cout << "seventy";
			}else if(s[0]=='8') {
				cout << "eighty";
			}else if(s[0]=='9') {
				cout << "ninety";
			}
			return 0;
		}
		if(s[1]!='0') {
			if(s[0]=='2') {
				cout << "twenty";
			}else if(s[0]=='3') {
				cout << "thirty";
			}else if(s[0]=='4') {
				cout << "forty";
			}else if(s[0]=='5') {
				cout << "fifty";
			}else if(s[0]=='6') {
				cout << "sixty";
			}else if(s[0]=='7') {
				cout << "seventy";
			}else if(s[0]=='8') {
				cout << "eighty";
			}else if(s[0]=='9') {
				cout << "ninety";
			}
			cout << "-";
			if(s[1]=='1') {
				cout << "one";
			}else if(s[1]=='2') {
				cout << "two";
			}else if(s[1]=='3') {
				cout << "three";
			}else if(s[1]=='4') {
				cout << "four";
			}else if(s[1]=='5') {
				cout << "five";
			}else if(s[1]=='6') {
				cout << "six";
			}else if(s[1]=='7') {
				cout << "seven";
			}else if(s[1]=='8') {
				cout << "eight";
			}else if(s[1]=='9') {
				cout << "nine";
			}
			return 0;
		}
	}else {
		if(s[0]=='1') {
			cout << "one";
		}else if(s[0]=='2') {
			cout << "two";
		}else if(s[0]=='3') {
			cout << "three";
		}else if(s[0]=='4') {
			cout << "four";
		}else if(s[0]=='5') {
			cout << "five";
		}else if(s[0]=='6') {
			cout << "six";
		}else if(s[0]=='7') {
			cout << "seven";
		}else if(s[0]=='8') {
			cout << "eight";
		}else if(s[0]=='9') {
				cout << "nine";
		}
	}
}

#include <iostream>
using namespace std;
#include<string>
int main() {
    int m,n,p;
    string st1[10]={"zero","one","two","three","four","five","six","seven","eight","nine"};
    string st2[9]={"ten","twenty","thirty","forty","fifty","sixty","seventy","eighty","ninety"};
    cin>>m;
    n=m%10;
    p=m/10;
    if(p!=0){
        cout<<st2[p-1]<<"-";
    }
    cout<<st1[n];
    return 0;
}

#include <bits/stdc++.h>
#include <stdlib.h>
#include<iomanip>

#define maxx 1e+5
#define PI            acos(-1.0)
#define pb            push_back
#define all(x)        (x).begin(), (x).end()
#define clr(ar)        memset(ar, 0, sizeof(ar))
#define loop(i,n)      for(int i=0; i<n; i++)
#define lop(i,n)      for(int i=1; i<=n; i++)
#define maxint(a,b,c) (a>b)?(a>c)?a:c :(b>c)?b:c
#define minint(a,b,c) (a<b)?(a<c)?a:c :(b<c)?b:c
#define READ          freopen("in.txt", "r", stdin);
#define WRITE          freopen("out.txt", "w", stdout);

using namespace std;

typedef long long int ll;
typedef  set<int>             si;
typedef  map<string,int>      mst;
typedef  map<int,int>	      mii;
typedef  map<char,int>        mci;
typedef  map<int,string>	   mis;
typedef  vector<long long> 	   vi;
typedef  vector<string> 	   vs;
map<int,int>mp;
map<int,int>::iterator it;
ll n,i,x,y,z,j,len,cnt(0),sum=0,a,b,c,temp,d,res=0,k,tc,mod=1000003,t,r,pos,ans=0,m;
ll arr[50],ar[1000];
int dp[1000];
ll two[1000][1000];
int dx[4]= {0,0,1,-1};
int dy[4]= {1,-1,0,0};
string str,st;
queue<int>q;
vector<int>vec;
char ch;

int check(int ,int)
{

}

int main()
 {
     mis mp;
     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";mp[21]="twenty-one";mp[22]="twenty-two";mp[23]="twenty-three";mp[24]="twenty-four";
     mp[25]="twenty-five";mp[26]="twenty-six";mp[27]="twenty-seven";mp[28]="twenty-eight";mp[29]="twenty-nine";mp[30]="thirty";mp[31]="thirty-one";
     mp[32]="thirty-two";mp[33]="thirty-three";mp[34]="thirty-four";mp[35]="thirty-five";mp[36]="thirty-six";
     mp[37]="thirty-seven";mp[38]="thirty-eight";mp[39]="thirty-nine";mp[40]="forty";mp[41]="forty-one";
     mp[42]="forty-two";mp[43]="forty-three";mp[44]="forty-four";mp[45]="forty-five";mp[46]="forty-six";
     mp[47]="forty-seven";mp[48]="forty-eight";mp[49]="forty-nine";mp[50]="fifty";

     mp[51]="fifty-one";
     mp[52]="fifty-two";mp[53]="fifty-three";mp[54]="fifty-four";mp[55]="fifty-five";mp[56]="fifty-six";
     mp[57]="fifty-seven";mp[58]="fifty-eight";mp[59]="fifty-nine";mp[60]="sixty";mp[61]="sixty-one";
     mp[62]="sixty-two";mp[63]="sixty-three";mp[64]="sixty-four";mp[65]="sixty-five";mp[67]="sixty-seven";mp[66]="sixty-six";
     mp[68]="sixty-eight";mp[69]="sixty-nine";mp[70]="seventy";mp[71]="seventy-one";mp[72]="seventy-two";
     mp[73]="seventy-three";mp[74]="seventy-four";mp[75]="seventy-five";mp[76]="seventy-six";mp[77]="seventy-seven";
     mp[78]="seventy-eight";mp[79]="seventy-nine";mp[80]="eighty";mp[81]="eighty-one";mp[82]="eighty-two";
     mp[84]="eighty-four";mp[85]="eighty-five";mp[86]="eighty-six";mp[87]="eighty-seven";mp[88]="eighty-eight";
     mp[89]="eighty-nine";mp[90]="ninety";mp[91]="ninety-one";mp[92]="ninety-two";mp[93]="seventy-three";
     mp[94]="ninety-four";mp[95]="ninety-five";mp[96]="ninety-six";mp[97]="ninety-seven";mp[98]="ninety-eight";
      mp[99]="ninety-nine";mp[83]="eighty-three";mp[0]="zero";

     cin>>n;
     cout<<mp[n]<<endl;

    return 0;
  }

// CF_299_1.cpp : 定义控制台应用程序的入口点。
//

#include "iostream"
#include "string"

using namespace std;

int main()
{
    string n;
    bool f = false;

    cin>>n;

    f = false;
    if(n.length() == 2)
    {
        switch(n[0])
        {
        case '1':
            {
                switch (n[1])
                {
                case '0':
                    {
                        cout<<"ten"<<endl;
                        f = true;
                        break;
                    }
                case '1':
                    {
                        cout<<"eleven"<<endl;
                        f = true;
                        break;
                    }
                case '2':
                    {
                        cout<<"twelve"<<endl;
                        f = true;
                        break;
                    }
                case '3':
                    {
                        cout<<"thirteen"<<endl;
                        f = true;
                        break;
                    }
                case '4':
                    {
                        cout<<"forteen"<<endl;
                        f = true;
                        break;
                    }
                case '5':
                    {
                        cout<<"fifteen"<<endl;
                        f = true;
                        break;
                    }
                case '6':
                    {
                        cout<<"sixteen"<<endl;
                        f = true;
                        break;
                    }
                case '7':
                    {
                        cout<<"seventeen"<<endl;
                        f = true;
                        break;
                    }
                case '8':
                    {
                        cout<<"eighteen"<<endl;
                        f = true;
                        break;
                    }
                case '9':
                    {
                        cout<<"ninteen"<<endl;
                        f = true;
                        break;
                    }
                }
        case '2':
            {
                cout<<"twenty";
                break;
            }
        case '3':
            {
                cout<<"thirty";
                break;
            }
        case '4':
            {
                cout<<"forty";
                break;
            }
        case '5':
            {
                cout<<"fifty";
                break;
            }
        case '6':
            {
                cout<<"sixty";
                break;
            }
        case '7':
            {
                cout<<"seventy";
                break;
            }
        case '8':
            {
                cout<<"eighty";
                break;
            }
        case '9':
            {
                cout<<"ninty";
                break;
            }

        }
        }
        }
    if(n.length() == 2)
    {
        if(!f)
        {
            switch(n[1])
            {
            case '1':
                {
                    cout<<"-one"<<endl;
                    break;
                }
            case '2':
                {
                    cout<<"-two"<<endl;
                    break;
                }
            case '3':
                {
                    cout<<"-three"<<endl;
                    break;
                }
            case '4':
                {
                    cout<<"-four"<<endl;
                    break;
                }
            case '5':
                {
                    cout<<"-five"<<endl;
                    break;
                }
            case '6':
                {
                    cout<<"-six"<<endl;
                    break;
                }
            case '7':
                {
                    cout<<"-seven"<<endl;
                    break;
                }
            case '8':
                {
                    cout<<"-eight"<<endl;
                    break;
                }
            case '9':
                {
                    cout<<"-nine"<<endl;
                    break;
                }
            }
        }
    }
    if(n.length() == 1)
            switch(n[0])
        {
            case '0':
                {
                    cout<<"zero"<<endl;
                    break;
                }
        case '1':
            {
                cout<<"one"<<endl;
                break;
            }
        case '2':
            {
                cout<<"two"<<endl;
                break;
            }
        case '3':
            {
                cout<<"three"<<endl;
                break;
            }
        case '4':
            {
                cout<<"four"<<endl;
                break;
            }
        case '5':
            {
                cout<<"five"<<endl;
                break;
            }
        case '6':
            {
                cout<<"six"<<endl;
                break;
            }
        case '7':
            {
                cout<<"seven"<<endl;
                break;
            }
        case '8':
            {
                cout<<"eight"<<endl;
                break;
            }
        case '9':
            {
                cout<<"nine"<<endl;
                break;
            }
        }

    return 0;
}

#include <iostream>
#include <string>
using namespace std;
string hazem(int x)
{
    string hazem;
    if(x==1)
    {
        hazem=("one");
    }
    else if(x==2)
    {
        hazem=("two");
    }
    else if(x==3)
    {
        hazem=("three");
    }
    else if(x==4)
    {
        hazem=("four");
    }
    else if(x==5)
    {
        hazem=("five");
    }
    else if(x==6)
    {
        hazem=("six");
    }
    else if(x==7)
    {
        hazem=("seven");
    }
    else if(x==8)
    {
        hazem=("eight");
    }
    else if(x==9)
    {
        hazem=("nine");
    }
    return hazem;
}
int main()
{
    int x;
    cin>>x;
    string k;
    int y=x%10;
    k=hazem(y);
    x/=10;
    if(x>0)
    {
        if(x==9 && y==0)
        {
            k.insert(0,("ninety"));
            cout<<k;
        }if(x==9)
        {
            k.insert(0,("ninety-"));
            cout<<k;
        }
        else if(x==8 && y==0)
        {
            k.insert(0,("eighty"));
            cout<<k;
        }else if(x==8)
        {
            k.insert(0,("eighty-"));
            cout<<k;
        }
        else if(x==7 && y==0)
        {
            k.insert(0,("seventy"));
            cout<<k;
        }else if(x==7)
        {
            k.insert(0,("seventy-"));
            cout<<k;
        }
        else if(x==6 && y==0)
        {
            k.insert(0,("sixty"));
            cout<<k;
        }else if(x==6)
        {
            k.insert(0,("sixty-"));
            cout<<k;
        }
        else if(x==5 && y==0)
        {
            k.insert(0,("fifty"));
            cout<<k;
        }else if(x==5)
        {
            k.insert(0,("fifty-"));
            cout<<k;
        }
        else if(x==4 && y==0)
        {
            k.insert(0,("forty"));
            cout<<k;
        }else if(x==4)
        {
            k.insert(0,("forty-"));
            cout<<k;
        }
        else if(x==3 && y==0)
        {
            k.insert(0,("thirty"));
            cout<<k;
        }else if(x==3)
        {
            k.insert(0,("thirty-"));
            cout<<k;
        }
        else if(x==2 && y==0)
        {
            k.insert(0,("twenty"));
            cout<<k;
        }
        else if(x==2)
        {
            k.insert(0,("twenty-"));
            cout<<k;
        }
        else if(x==1 && y==0)
        {
            cout<<"ten";
        }
        else if(x==1 && y==1)
        {
            cout<<"eleven";
        }
        else if(x==1 && y==2)
        {
            cout<<"twelve";
        }
        else if(x==1 && y==2)
        {
            cout<<"twelve";
        }
        else if(x==1 && y==3)
        {
            cout<<"thirteen";
        }
        else if(x==1 && y==4)
        {
            cout<<"fourteen";
        }
        else if(x==1 && y==5)
        {
            cout<<"fifteen";
        }
        else if(x==1 && y==6)
        {
            cout<<"sixteen";
        }
        else if(x==1 && y==7)
        {
            cout<<"seventeen";
        }
        else if(x==1 && y==8)
        {
            cout<<"eighteen";
        }
        else if(x==1 && y==9)
        {
            cout<<"nineteen";
        }
    }
    else
    {
        if(y==0)
        {
            cout<<"zero";
        }
        else{cout<<k;}

    }
    return 0;
}

#include<bits/stdc++.h>
using namespace std;
/******************************TYPE name************************************/
typedef long long ll;
typedef vector<int> vi;
typedef pair<int ,int > pii;
typedef map<int,int>mii;

/***********************************MACRO*************************/
#define test int ct;cin>>ct;while(ct--)
#define fo(i,n) for( i=0;i<n;i++)
#define el <<"\n"
#define sc(n) scanf("%d",&n)
#define scl(n) scanf("%lld",&n)
#define sq(a) (a)*(a)
#define file() freopen("input.txt", "r", stdin);freopen("output.txt", "w", stdout);
#define zro 1e-9
#define F first
#define S second
#define pb(a) push_back(a)
#define sqsum(n) (((n)*(n+1)*(2*(n)+1))/6) //sum of square number 1 to n
#define mltpls(first,last,ratio) ((last)*(ratio)-(first))/(ratio-1) //multiple series
#define linear_sum(n) (n)*(n+1)/2; //sum of 1 to n
#define arithmetic_progression(first,last,ratio) ((ratio)*(first+last))/2
#define rb rbegin()
#define re rend()
#define bg begin()
#define en end()
#define itr iterator

#define gl(s) getline(cin,s)

/********************************code***************************/
int main()
{
    int n;
    cin>>n;
    int f,s;
    s=n%10;
    n/=10;
    f=n%10;

    if(f!=0)
    {
        if(f==2)
            cout<<"twenty";
        else if(f==3)
            cout<<"thirty";
        else if(f==4)
            cout<<"forty";
        else if(f==5)
            cout<<"fifty";
        else if(f==6)
            cout<<"sixty";
        else if(f==7)
            cout<<"seventy";
        else if(f==8)
            cout<<"eighty";
        else if(f==9)
            cout<<"ninety";
        else if(f==1)
        {
            if(s==0)
                cout<<"ten";
            if(s==1)
                cout<<	"eleven";
            else if(s==2)
                cout<< "twelve";
            else if(s==3)
                cout<< "thirteen";
            else if(s==4)
                cout<< "fourteen";
            else if(s==5)
                cout<< "fifteen";
            else if(s==6)
                cout<< "sixteen";
            else if(s==7)
                cout<< "seventeen";
            else if(s==8)
                cout<< "eighteen";
            else if(s==9)
                cout<< "nineteen";
    return 0;
        }

        if(s==0)
            cout<<" ";
        else if(s==1)
            cout<<"-one";
        else if(s==2)
            cout<<"-two";
        else if(s==3)
            cout<<"-three";
        else if(s==4)
            cout<<"-four";
        else if(s==5)
            cout<<"-five";
        else if(s==6)
            cout<<"-six";
        else if(s==7)
            cout<<"-seven";
        else if(s==8)
            cout<<"-eight";
        else if(s==9)
            cout<<"-nine";
    }
    else if(f==0)
    {   if(s==1)
            cout<<"one";
        else if(s==2)
            cout<<"two";
        else if(s==3)
            cout<<"three";
        else if(s==4)
            cout<<"four";
        else if(s==5)
            cout<<"five";
        else if(s==6)
            cout<<"six";
        else if(s==7)
            cout<<"seven";
        else if(s==8)
            cout<<"eight";
        else if(s==9)
            cout<<"nine";

    }

}

/**
 *    Author  : Ador
 *    Created : 26.08.2020
**/
#include <iostream>
#include <cstdio>
#include <iomanip>
#include <iterator>
#include <algorithm>
#include <string>
#include <cstring>
#include <sstream>
#include <cmath>
#include <cstdlib>
#include <cctype>
#define pi acos(-1.0)
#define L 31250001
#define SP(x) cout << fixed << setprecision(x)
//#define FILE_IO
typedef long long int ll ;
typedef unsigned long long int ull ;
using namespace std ;
ll lucky[2050] ;
int main(void)
{
    ios_base::sync_with_stdio(false) ; cin.tie(NULL) ; cout.tie(NULL) ;
    #ifdef FILE_IO
    freopen("input.txt" , "r" , stdin) ;
    freopen("output.txt" , "w" , stdout) ;
    #endif
    string d1[ ] = {"one" , "two" , "three" , "four" , "five" , "six" , "seven" , "eight" , "nine" , "ten" ,
                   "eleven" , "twelve" , "thirteen" , "fourteen" , "fifteen" , "sixteen" , "seventeen" , "eighteen" , "nineteen" } ;
    string d10[10] ;
    d10[2] = "twenty" , d10[3] = "thirty" , d10[4] = "forty" , d10[5] = "fifty" , d10[6] = "sixty" , d10[7] = "seventy" , d10[8] = "eighty" , d10[9] = "ninety" ;
    ll n ; cin >> n ;
    if(n - 1 < 19) cout << d1[n - 1] << "\n" ;
    else
    {
        ll y = n % 10 ;
        n /= 10 ;
        ll x = n ;
        cout << d10[x] ;
        if(y) cout << "-" << d1[y - 1] ;
        cout << "\n" ;
    }
    return 0 ;
}

#include <iostream>
using namespace std;

int main() {
    int n; cin >> n;
    if (n==0) cout << "zero\n"; else
    if ((9<n)&&(n<20)) {
        switch (n) {
            case 10: cout << "ten\n"; break;
            case 11: cout << "eleven\n"; break;
            case 12: cout << "twelve\n"; break;
            case 13: cout << "thirteen\n"; break;
            case 14: cout << "fourteen\n"; break;
            case 15: cout << "fifteen\n"; break;
            case 16: cout << "sixteen\n"; break;
            case 17: cout << "seventeen\n"; break;
            case 18: cout << "eighteen\n"; break;
            case 19: cout << "nineteen\n"; break;
        default: cout << endl; break;
        }
    } else {
        switch (n/10) {
            case 2: cout << "twenty"; break;
            case 3: cout << "thirty"; break;
            case 4: cout << "forty"; break;
            case 5: cout << "fifty"; break;
            case 6: cout << "sixty"; break;
            case 7: cout << "seventy"; break;
            case 8: cout << "eighty"; break;
            case 9: cout << "ninety"; break;
        default: cout << ""; break;
        }
        if ((n/10>1)&&(n&10>0)) cout << "-";
        switch (n%10) {
            case 1: cout << "one\n"; break;
            case 2: cout << "two\n"; break;
            case 3: cout << "three\n"; break;
            case 4: cout << "four\n"; break;
            case 5: cout << "five\n"; break;
            case 6: cout << "six\n"; break;
            case 7: cout << "seven\n"; break;
            case 8: cout << "eight\n"; break;
            case 9: cout << "nine\n"; break;
        default: cout << endl; break;
        }
    }
    return 0;
}

#include<bits/stdc++.h>
using namespace std;
#define ll long long int
int main()
{
ll t,n,k,s,mn=1000000000,i,a[1007],x,y,j=1,z,ans;
cin>>t;
while(t--){
    cin>>n>>s>>k;
    x=0;
    for(i=0;i<k;i++){
        cin>>a[i];
    }
    sort(a,a+k);
    for(i=0;i<k;i++){
        if(a[i]==s) x=i;
    }
    if(x==0){cout<<0<<endl;continue;}
ll pp=s;
ll ppp=s;
    for(i=x;i>=0;i--){
        if(a[i]!=s){
            y=s;
            break;
        }
        s--;
    }
    for(j=x;j<k;j++){
        if(a[j]!=pp){
            z=pp;
            break;
        }
        pp++;
    }

    if(s>1) cout<<min(ppp-y,z-ppp)<<endl;
    else cout<<abs(z-ppp)<<endl;
}
}

#include<iostream>
#include<cstdio>
#include<map>
#include<vector>
#include<algorithm>
#include<queue>
#include<cctype>
#include<string>
#include<math.h>
#include<bits/stdc++.h>

using namespace std;
vector<int>v;
void gen(int x)
{
    if(x>100000)
        return ;
    if(x!=0)
        v.push_back(x);
    gen(x*10+1);
    gen(x*10+2);
    gen(x*10+3);
}
void islam()
{
    ios::sync_with_stdio(false);
    cin.tie(NULL);
}
int main()
{
    islam();
    int n;
    cin>>n;
    if(n<0)
        n*=-1;
    string s[1001]={"zero","one","tow","three","four","five","six","seven","eight","nine","ten","eleven","twelve","thirteen","	fourteen",
                      "fifteen","sixteen","seventeen","eighteen","nineteen","twenty","twenty-one","twenty-tow","twenty-three","twenty-four"
                      ,"twenty-five","twenty-six","twenty-seven","twenty-eight","twenty-nine","thirty","thirty-one","thirty-tow","thirty-three"
                      ,"thirty-four","thirty-five","thirty-six","thirty-seven","thirty-eight","thirty-nine","forty","forty-one","forty-tow","forty-three",
                       "forty-four","forty-five","forty-six","forty-seven","forty-eight","forty-nine","fifty","fifty-one","fifty-tow","fifty-three",
                       "fifty-four","fifty-five","fifty-six","fifty-seven","fifty-eight","fifty-nine","sixty","sixty-one","sixty-tow","sixty-three",
                       "sixty-four","sixty-five","sixty-six","sixty-seven","sixty-eight","sixty-nine","seventy","seventy-one","seventy-tow","seventy-three",
                       "seventy-four","seventy-five","seventy-six","seventy-seven","seventy-eight","seventy-nine","eighty","eighty-one","eighty-tow","eighty-three",
                       "eighty-four","eighty-five","eighty-six","eighty-seven","eighty-eight","eighty-nine","ninety","ninety-one","ninety-tow","ninety-three",
                       "ninety-four","ninety-five","ninety-six","ninety-seven","ninety-eight","ninety-nine","hundred"};

cout<<s[n];
    return 0;
}

#include <bits/stdc++.h>
#define ll long long
#define PI 2 * acos(0)
#define ones(n) __builtin_popcount(n)
#define FAST ios::sync_with_stdio(0), cin.tie(0), cout.tie(0)
#define MAX 300000
#define debug(x) cerr << #x << " = " << x << '\n';
#define LOOP printf("LOOP!!")
#define READ freopen("input.txt", "r", stdin)
#define PRINT freopen("output.txt", "w", stdout);
#define print(a, b) printf("Case %d: %d\n", a, b)
#define all(x) (x).begin(), (x).end()
const ll MOD = 1e9 + 7;
using namespace std;

/*................OMI.................*/
bool isPrime(ll n)
{
   if (n <= 1)
      return false;
   if (n <= 3)
      return true;

   if (n % 2 == 0 || n % 3 == 0)
      return false;

   for (ll i = 5; i * i <= n; i = i + 2)
      if (n % i == 0)
         return false;

   return true;
}
ll gcd(ll a, ll b)
{
   if (a == 0)
      return b;
   return gcd(b % a, a);
}

ll lcm(ll a, ll b)
{
   ll g = gcd(a, b);
   ll ans = (a * b) / g;
   return ans;
}

///palindrome check!
bool palindrome(string s)
{
   for (ll i = 0; i < s.length() / 2; i++)
   {
      if (s[i] != s[s.length() - i - 1])
         return 0;
   }
   return 1;
}
/// divisors->>
void printDivisors(int n)
{
   for (int i = 1; i <= sqrt(n); i++)
   {
      if (n % i == 0)
      {
         if (n / i == i)
            printf("%d ", i);

         else
            printf("%d %d ", i, n / i);
      }
   }
}
/// string to INT
int convert_number(string s)
{
   int n;
   stringstream(s) >> n;
   return n;

   // int v=atoi(ss.c_str());
   // atoi is better than this function in case of complexity
}

///prime storage>>>

vector<ll> prime;

void primes(ll m)
{

   bool isprime[m];
   for (int i = 0; i <= m; i++)
      isprime[i] = true;

   for (int i = 3; i * i <= m; i++)
   {
      if (isprime[i])
      {

         for (int j = i * i; j <= m; j += i)
            isprime[j] = false;
      }
   }
   prime.push_back(2);
   for (int i = 3; i <= m; i += 2)
      if (isprime[i])
         prime.push_back(i);
}

/************MAIN_FUNCTION***********/
int main(int argc, char *argv[])
{
   FAST;
   map<int, string> MAP;

   MAP[1] = "one";
   MAP[2] = "two";
   MAP[3] = "three";
   MAP[4] = "four";
   MAP[5] = "five";
   MAP[6] = "six";
   MAP[7] = "seven";
   MAP[8] = "eight";
   MAP[9] = "nine";
   MAP[10] = "ten";
   MAP[11] = "eleven";
   MAP[12] = "twelve";
   MAP[13] = "thirteen";
   MAP[14] = "fourteen";
   MAP[15] = "fifteen";
   MAP[16] = "sixteen";
   MAP[17] = "seventeen";
   MAP[18] = "eighteen";
   MAP[19] = "nineteen";

   string s;
   cin >> s;

   if (s.size() == 1)
   {
      cout << MAP[s[0] - '0'] << '\n';
   }
   else
   {
      if (s[0] == '2')
      {
         cout << "twenty";
         if (s[1] - '0' != 0)
         {
            cout << "-" << MAP[s[1] - '0'] << '\n';
         }
      }
      else if (s[0] == '3')
      {
         cout
             << "thirty";
         if (s[1] - '0' != 0)
            cout
                << "-" << MAP[s[1] - '0'] << '\n';
      }
      else if (s[0] == '4')
      {
         cout
             << "forty";
         if (s[1] - '0' != 0)
            cout
                << "-" << MAP[s[1] - '0'] << '\n';
      }
      else if (s[0] == '5')
      {
         cout
             << "fifty";
         if (s[1] - '0' != 0)
            cout
                << "-" << MAP[s[1] - '0'] << '\n';
      }
      else if (s[0] == '6')
      {
         cout
             << "sixty";
         if (s[1] - '0' != 0)
            cout << "-" << MAP[s[1] - '0'] << '\n';
      }
      else if (s[0] == '7')
      {
         cout
             << "seventy";
         if (s[1] - '0' != 0)
            cout
                << "-" << MAP[s[1] - '0'] << '\n';
      }
      else if (s[0] == '8')
      {
         cout
             << "eighty";
         if (s[1] - '0' != 0)

            cout
                << "-" << MAP[s[1] - '0'] << '\n';
      }
      else if (s[0] == '9')
      {
         cout
             << "ninety";
         if (s[1] - '0' != 0)
            cout
                << "-" << MAP[s[1] - '0'] << '\n';
      }
   }

   return 0;
}

#include <iostream>

using namespace std;

string wa(int n)
{

    if (n==0)
        return "zero";
    else if (n==1)
         return "one";
    else if (n==2)
        return "two";
    else if (n==3)
         return "three";
    else if (n==4)
        return "four";
    else if (n==5)
        return "five";

    else if (n==6)
        return "six";
    else if (n==7)
        return "seven";
    else if (n==8)
        return "eight";
    else if (n==9)
        return "nine";

}

int main()
{
    string a;
    cin>>a;

    if (a.size()==1)
        {
           int y=a[0]-'0';
            cout<<wa(y)<<"\n";
        }

    else if (a.size()==2&&a[0]=='1')
    {
   int n=a[1]-'0';
    if (n==0)
        cout<<"ten\n";

    else if (n==1)
        cout<<"eleven\n";
    else if (n==2)
        cout<<"twelve\n";
    else if (n==3)
        cout<<"thirteen\n";
    else if (n==4)
        cout<<"fourteen\n";
    else if (n==5)
        cout<<"fifteen\n";
    else if (n==6)
        cout<<"sixteen\n";
    else if (n==7)
        cout<<"seventeen\n";
    else if (n==8)
        cout<<"eighteen\n";
    else if (n==9)
        cout<<"nineteen\n";

    }
    else if (a.size()==2&&a[0]=='2')
    {
        if (a[0]=='2'&&a[1]=='0')
      cout<<"twenty\n";

    else
        cout<<"twenty_"<<wa(a[1]-'0')<<"\n";
    }

    else if (a.size()==2&&a[0]=='3')
    {
        if (a[0]=='3'&&a[1]=='0')
      cout<<"thirty\n";

    else
        cout<<"thirty_"<<wa(a[1]-'0')<<"\n";
    }

       else if (a.size()==2&&a[0]=='4')
    {
        if (a[0]=='4'&&a[1]=='0')
      cout<<"forty\n";

    else
{
        cout<<"forty_"<<wa(a[1]-'0')<<"\n";
}
    }

       else if (a.size()==2&&a[0]=='5')
    {
        if (a[0]=='5'&&a[1]=='0')
      cout<<"fifty\n";

    else
        cout<<"fifty_"<<wa(a[1]-'0')<<"\n";
    }

       else if (a.size()==2&&a[0]=='6')
    {
        if (a[0]=='6'&&a[1]=='0')
      cout<<"sixty\n";

    else
        cout<<"sixty_"<<wa(a[1]-'0')<<"\n";
    }

       else if (a.size()==2&&a[0]=='7')
    {
        if (a[0]=='7'&&a[1]=='0')
      cout<<"seventy\n";

    else
        cout<<"seventy_"<<wa(a[1]-'0')<<"\n";
    }

       else if (a.size()==2&&a[0]=='8')
    {
        if (a[0]=='8'&&a[1]=='0')
      cout<<"eighty\n";

    else
        cout<<"eighty_"<<wa(a[1]-'0')<<"\n";
    }

       else if (a.size()==2&&a[0]=='9')
    {
        if (a[0]=='9'&&a[1]=='0')
      cout<<"ninety\n";

    else
        cout<<"ninety_"<<wa(a[1]-'0')<<"\n";
    }

return 0;
}

#include <conio.h>
#include <string>
#include <iostream>
#include <iomanip>
#include <algorithm>
#include <cmath>
#include <process.h>
#include <vector>
#include <set>
#include <deque>
#include <map>

using namespace std ;
void fast(){
  std :: ios_base :: sync_with_stdio (0);
  cin.tie(0);
  cout.tie(0);
}
int main ()
{
  int n,x,y;
   cin>>n;
  if(n==10){
  cout<<"ten"<<endl;
  return 0;
}
  string arr[20]={"zero","one","two","three","four","five","six","seven","eight","nine","ten","eleven","twelve","thriteen","fourteen","fiveteen","sixeteen","seventeen","eighteen","nineteen"};
  string brr[8]={"twinty","thirty","forty","fifty","sixty","seventy","eighty","ninety"};
  if(n>=20){
      x=n%10;
      y=n/10;
    //  cout<<x<<endl;
      if(x!=0){
      //    cout<<y<<endl;
          cout<<brr[y-2]<<"-"<<arr[x]<<endl;
      }
      else
      cout<<brr[n-20]<<endl;
  }
  else
  cout<<arr[n]<<endl;

 //  transform(x.begin(), x.end(), x.begin(), ::tolower);

return 0;
}

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

#include<iostream>

using namespace std;

string bteen(int n){
	if(n==2)
		return "twen";
	else if(n==3)
		return "thir";
	else if(n==4)
		return "four";
	else if(n==5)
		return "fif";
	else if(n==6)
		return "six";
	else if(n==7)
		return "seven";
	else if(n==8)
		return "eight";
	else if(n==9)
		return "nine";
}

string tens(int n){
	if(n==2)
		return "twenty";
	else if(n==3)
		return "thirty";
	else if(n==4)
		return "fourty";
	else if(n==5)
		return "fifty";
	else if(n==6)
		return "sixty";
	else if(n==7)
		return "seventy";
	else if(n==8)
		return "eighty";
	else if(n==9)
		return "ninety";
}

string units(int n){
	if(n==1)
		return "one";
	else if(n==2)
		return "two";
	else if(n==3)
		return "three";
	else if(n==4)
		return "four";
	else if(n==5)
		return "five";
	else if(n==6)
		return "six";
	else if(n==7)
		return "seven";
	else if(n==8)
		return "eight";
	else if(n==9)
		return "nine";
	else if(n==10)
		return "ten";
	else if(n==11)
		return "eleven";
	else if(n==12)
		return "twelve";
}

int main(void){
	int n;cin>>n;
	if(n<=12){
		cout<<units(n);
		return 0;
	}
	if(n<20){
		cout<<bteen(n%10)<<"teen";
		return 0;
	}
	if(n%10==0){
		cout<<tens(n/10)<<"ty";
		return 0;
	}
	cout<<tens(n/10)<<'-'<<units(n%10);
	return 0;
}

#include <bits/stdc++.h>
using namespace std;

string wrt(int i,int a){
	string str;
    if(i == 0 && a != 0 ) {
		if(a == 1)   str = "one";
		if(a ==2)    str = "two";
		if(a == 3)   str = "three";
		if(a == 4)   str = "four";
		if(a==5)     str = "five";
		if(a==6)     str =  "six";
		if(a == 7)   str = "seven";
		if(a ==8)    str = "eight";
		if(a==9)     str = "nine" ;
		  }
   if( i==1) {
   	   if(a==2)   str ="twenty";
   	   if(a==3)   str ="thirty";
   	   if(a==4)   str ="fourty";
	   if(a==5)	  str= "fifty";
	   if(a==6 )  str ="sixty";
	   if(a==7)   str ="seventy";
	   if(a==8)   str = "eighty";
	   if(a==9)   str ="ninty";
   }

   	return str;
}
   int main(){
   	string str;
   	char s[3];
   	cin>>s;
   	int sz = strlen(s) - 1;
   	if(sz == 0 && s[0]-48 == 0 )   cout<<"zero";
   	if(sz == 1 && s[0]-48 == 1 ){
   		int a = s[1] -48;
   		if(a == 0)   cout<<"ten";
   		else {
   			if(a == 1)  cout<<"eleven";
   			if(a == 2)  cout<<"twelve";
   			if(a==3)    cout<<"thirteen";
   			if(a==4)    cout<<"forteen";
   			if(a == 5)  cout<<"fifteen";
   			if(a==6)    cout<<"sixteen";
   			if(a==7)    cout<<"seventeen";
   			if(a==8)    cout<<"eigthteen";
   			if(a==9)    cout<<"ninteen";
   		}
   		return 0;
   	}
   	else {
   	 for(int i=0;i<=sz;i++){
   	 	if(i == 1) str += "-";
   		int a = s[i]-48;
   		str += wrt((sz-i),a);
   		if(a == 0)  break;
   	 }

   	cout<<str;
   }
   	return 0;
   }

#include<bits/stdc++.h>
#define ll long long int
using namespace std;
int main()
{
    ll n;
    cin>>n;
    string s[40]={"zero","one","two","three","four","five","six","seven","eight","nine"};
    string t[40]={"ten","eleven","twelve","thirteen","fourteen","fifteen","sixteen","seventeen","eighteen","nineteen"};
    string u[40]={"twen","thir","for","fif","six","seven","eight","nine"};
    if(n<10){
        cout<<s[n]<<endl;
    }
    else if(n<20){
        cout<<t[n-10]<<endl;
    }
    else if(n%10==0){
        cout<<u[(n/10)-2]<<"ty"<<endl;
    }
    else {
        cout<<u[(n/10)-2]<<"ty-"<<s[n%10];
    }
    return 0;
}

#include<iostream>

using namespace std;

#define cs(a,b) case a:{cout<<b;break;}

int main(){
	int a,b,e;
	cin>>a;
	b=((a%100)-(a%10))/10;
	e=a%10;
	if(b!=0 & b!=1){
	switch (b){
		cs(2,"twenty");cs(3,"thirty");cs(4,"forty");cs(5,"fifty");cs(6,"sixty");
		cs(7,"seventy");cs(8,"eghty");cs(9,"ninety");
	}
	if(a%10!=0){
	cout<<"-";}
	switch (e){
		cs(1,"one");cs(2,"tow");cs(3,"three");cs(4,"four");cs(5,"five");
		cs(6,"six");cs(7,"seven");cs(8,"eight");cs(9,"nine");
	}
	}
	if(b==1){
		switch (a){
		cs(11,"eleven");cs(12,"twelve");cs(13,"thirteen");cs(14,"fourteen");
		cs(15,"fifteen");cs(16,"sixteen");cs(17,"seventeen");cs(18,"eighteen");
		cs(19,"nineteen");
		}
	}
	if(b==0){
	switch (e){
		cs(1,"one");cs(2,"two");cs(3,"three");cs(4,"four");cs(5,"five");
		cs(6,"six");cs(7,"seven");cs(8,"eight");cs(9,"nine");
	}}
	if(a==10){cout<<"ten";
	}
	if(a==0){cout<<"zero";
	}
}

#include <iostream>
#include<cmath>
using namespace std;

int main()
{
    long long int i,j,s;
    cin>>s;
    char * ar[]={"zero","one","two","three","four","five","six","seven","eight","nine"};
    char * br[]={"zero","eleven","twelve","thirteen","fourteen","fiveteen","sixteen","seventeen","eighteen","ninteen"};
    char * cr[]={"zero","ten","twenty","thirty","forty","fifty","sixty","seventy","eighty","ninty"};
    while(s>0)
    {
        i=s%10;
        s=s/10;
        j=s%10;
        if(s==0)
        {
            cout<<ar[i];
            return 0;
        }
        else if(i==0 && j>0)
        {
            cout<<cr[j];
            s=s/10;
            return 0;
        }
        else if(i>0 && j==1)
        {
            cout<<br[i];
            s=s/10;
            return 0;
        }
        else if(i>0 && j>1)
        {
            cout<<cr[j]<<"-"<<ar[i];
            s=s/10;
            return 0;
        }

    }

    return 0;
}

#include <bits/stdc++.h>
using namespace std;

string wrt(int i,int a){
	string str;
    if(i == 0 && a != 0 ) {
		if(a == 1)   str = "one";
		if(a ==2)    str = "two";
		if(a == 3)   str = "three";
		if(a == 4)   str = "four";
		if(a==5)     str = "five";
		if(a==6)     str =  "six";
		if(a == 7)   str = "seven";
		if(a ==8)    str = "eight";
		if(a==9)     str = "nine" ;
		  }
   if( i==1) {
   	   if(a==2)   str ="twenty";
   	   if(a==3)   str ="thirty";
   	   if(a==4)   str ="forty";
	   if(a==5)	  str= "fifty";
	   if(a==6 )  str ="sixty";
	   if(a==7)   str ="seventy";
	   if(a==8)   str = "eighty";
	   if(a==9)   str ="ninety";
   }

   	return str;
}
   int main(){
   	string str;
   	char s[3];
   	cin>>s;
   	int sz = strlen(s) - 1;
   	if(sz == 0 && s[0]-48 == 0 )   cout<<"zero";
   	if(sz == 1 && s[0]-48 == 1 ){
   		int a = s[1] -48;
   		if(a == 0)   cout<<"ten";
   		else {
   			if(a == 1)  cout<<"eleven";
   			if(a == 2)  cout<<"twelve";
   			if(a==3)    cout<<"thirteen";
   			if(a==4)    cout<<"forteen";
   			if(a == 5)  cout<<"fifteen";
   			if(a==6)    cout<<"sixteen";
   			if(a==7)    cout<<"seventeen";
   			if(a==8)    cout<<"eigthteen";
   			if(a==9)    cout<<"ninteen";
   		}
   		return 0;
   	}
   	else {
   	 for(int i=0;i<=sz;i++){
   	 	if(i == 1) str += "-";
   		int a = s[i]-48;
   		str += wrt((sz-i),a);
   		if(a == 0)  break;
   	 }

   	cout<<str;
   }
   	return 0;
   }

#include<stdio.h>
int main ()
{
    int n,x,y,z;
    scanf("%d",&n);
    if(n>=20||n<10)
    {
    x=n%10;
    y=n/10;
     if(x==0)
        {
               if(y==2)printf("twenty");
    if(y==3)printf("thirty");
    if(y==4)printf("fourty");
    if(y==5)printf("fifty");
    if(y==6)printf("sixty");
    if(y==7)printf("seventy");
    if(y==8)printf("eighty");
    if(y==9)printf("ninety");
        }
        else{

    if(y==2)printf("twenty-");
    if(y==3)printf("thirty-");
    if(y==4)printf("fourty-");
    if(y==5)printf("fifty-");
    if(y==6)printf("sixty-");
    if(y==7)printf("seventy-");
    if(y==8)printf("eighty-");
    if(y==9)printf("ninety-");
    if(x==2)printf("two");
    if(x==4)printf("four");
    if(x==3)printf("three");
    if(x==5)printf("five");
    if(x==6)printf("six");
    if(x==7)printf("seven");
    if(x==8)printf("eight");
    if(x==9)printf("nine");
    if(x==1&&y==0)printf("one");
            }
        }
    else
    {
    if(n==10)printf("ten");
    if(n==11)printf("eleven");

    if(n==12)printf("twelve");
    if(n==13)printf("thirteen");
    if(n==14)printf("fourteen");
    if(n==15)printf("fifteen");
    if(n==16)printf("sixteen");
    if(n==17)printf("seventeen");
    if(n==18)printf("eighteen");
    if(n==19)printf("nineteen");
        }

}

#include<iostream>
using namespace std;
int num(char a,bool m=false)
{
	if(m==false)	cout<<'-';
	switch(a)
	{
		case '1':	cout<<"one";	return 0;
		case '2':	cout<<"twe";	return 0;
		case '3':	cout<<"three";	return 0;
		case '4':	cout<<"four";	return 0;
		case '5':	cout<<"five";	return 0;
		case '6':	cout<<"six";	return 0;
		case '7':	cout<<"seven";	return 0;
		case '8':	cout<<"eight";	return 0;
		case '9':	cout<<"nine";	return 0;
	}
}
int main()
{
	string a;
	cin>>a;
	if(a.size()==2)
		switch(a[0])
		{
			case '1':
				switch(a[1])
				{
					case '0':	cout<<"ten";		return 0;
					case '1':	cout<<"eleven";		return 0;
					case '2':	cout<<"twelve";		return 0;
					case '3':	cout<<"thirteen";	return 0;
					case '4':	cout<<"fourteen";	return 0;
					case '5':	cout<<"fifteen";		return 0;
					case '6':	cout<<"sixteen";		return 0;
					case '7':	cout<<"seventeen";	return 0;
					case '8':	cout<<"eighteen";	return 0;
					case '9':	cout<<"nineteen";	return 0;
				}
				break;
			case '2':
				cout<<"twenty";
				if(a[1]=='0')	return 0;
				else	num(a[1]);
				break;
			case '3':
				cout<<"thirty";
				if(a[1]=='0')	return 0;
				else	num(a[1]);
				break;
			case '4':
				cout<<"forty";
				if(a[1]=='0')	return 0;
				else	num(a[1]);
				break;
			case '5':
				cout<<"fifty";
				if(a[1]=='0')	return 0;
				else	num(a[1]);
				break;
			case '6':
				cout<<"sixty";
				if(a[1]=='0')	return 0;
				else	num(a[1]);
				break;
			case '7':
				cout<<"seventy";
				if(a[1]=='0')	return 0;
				else	num(a[1]);
				break;
			case '8':
				cout<<"eighty";
				if(a[1]=='0')	return 0;
				else	num(a[1]);
				break;
			case '9':
				cout<<"ninety";
				if(a[1]=='0')	return 0;
				else	num(a[1]);
		}
	else
		num(a[0],true);
}

#include<iostream>
using namespace std;
void fun(int s)
{
    switch(s)
    {
        case 1: cout<<"one";
            break;
        case 2: cout<<"two";
            break;
        case 3: cout<<"three";
            break;
        case 4: cout<<"four";
            break;
        case 5: cout<<"five";
            break;
        case 6: cout<<"six";
            break;
        case 7: cout<<"seven";
            break;
        case 8: cout<<"eight";
            break;
        case 9: cout<<"nine";
            break;

    }
}
int main()
{
    int a,s;
    cin>>s;
    if(s==0)
        cout<<"zero";
    if(s<9)
        fun(s);
    else if(s>10 && s<20)
    {
        switch(s)
        {
        case 11: cout<<"eleven";
            break;
        case 12: cout<<"twelve";
            break;
        case 13: cout<<"thirteen";
            break;
        case 14: cout<<"fourteen";
            break;
        case 15: cout<<"fifteen";
            break;
        case 16: cout<<"sixteen";
            break;
        case 17: cout<<"seventeen";
            break;
        case 18: cout<<"eighteen";
            break;
        case 19: cout<<"nineteen";
            break;
        }
    }
    else if(s>=20 && s<30)
    {
        if(s==20)
            cout<<"twenty";
        else
        {
            cout<<"twenty-";
            fun(s%10);
        }
    }
    else if(s>=30 && s<40)
    {
        if(s==30)
            cout<<"thirty";
        else
        {
            cout<<"thirty-";
            fun(s%10);
        }
    }
    else if(s>=50 && s<60)
    {
        if(s==40)
            cout<<"fifty";
        else
        {
            cout<<"fifty-";
            fun(s%10);
        }
    }
    else
    {
        if(s==40)
            cout<<"fourty";
        else if(s==60)
            cout<<"sixty";
        else if(s==70)
            cout<<"seventy";
        else if(s==80)
            cout<<"eighty";
        else if(s==90)
            cout<<"ninety";
        else
        {
            a=s/10;
            fun(a);
            cout<<"ty-";
            fun(s%10);
        }
    }
}

#include<stdio.h>
#include<iostream>

#include<string.h>
//#include<conio.h>

using namespace std;
int main()
{
 int a,b,c,n,d,e,i,j;
 char m[25],k[25];
 char one[]="one";
 char two[]="two";
 char three[]="three";
 char four[]="four";
 char five[]="five";
 char six[]="six";
 char seven[]="seven";
 char eight[]="eight";
 char nine[]="nine";
 char zero[]="";
 //clrscr();
 cin>>n;
 int mod,div;
 mod=n%10;
 switch(mod)
 {
  case 1:
  strcpy(m,one);
  break;
  case 2:
  strcpy(m,two);
  break;
  case 3:
  strcpy(m,three);
  break;
  case 4:
  strcpy(m,four);
  break;
  case 5:
  strcpy(m,five);
  break;
  case 6:
  strcpy(m,six);
  break;
  case 7:
  strcpy(m,seven);
  break;
  case 8:
  strcpy(m,eight);
  break;
  case 9:
  strcpy(m,nine);
  break;
  default:
  strcpy(m,zero);
 }
 div=n/10;
 char twenty[]="twenty-";
 char thirty[]="thirty-";
 char forty[]="forty-";
 char fifty[]="fifty-";
 char sixty[]="sixty-";
 char seventy[]="seventy-";
 char eighty[]="eighty-";
 char ninety[]="ninety-";
 if(n==20)
 {
   cout<<"twenty";
 }
 if(n==30)
 {
   cout<<"thirty";
 }
 if(n=40)
 {
   cout<<"forty";
 }
if(n==50)
 {
   cout<<"fifty";
 }
if(n==60)
 {
   cout<<"sixty";
 }
if(n==70)
 {
   cout<<"seventy";
 }
if(n==80)
 {
   cout<<"eighty";
 }
if(n==90)
 {
   cout<<"ninety";
 }

 switch(div)
 {

  case 2:
  strcpy(k,twenty);
  break;
  case 3:
  strcpy(k,thirty);
  break;
  case 4:
  strcpy(k,forty);
  break;
  case 5:
  strcpy(k,fifty);
  break;
  case 6:
  strcpy(k,sixty);
  break;
  case 7:
  strcpy(k,seventy);
  break;
  case 8:
  strcpy(k,eighty);
  break;
  case 9:
  strcpy(k,ninety);
  break;
  default:
  strcpy(k,zero);
}

 cout<<k<<m;
 //getch();
 return 0;
}

#include <cstdio>
#include <cmath>
#include <cstdlib>
#include <cstring>
#include <vector>
#include <queue>
#include <stack>
#include <string>
#include <set>
#include <map>
#include <algorithm>
#include <sstream>
#include <iostream>
#include <numeric>

using namespace std;

#define FOR(i, n) for(int i = 0; i < (n); ++i)
#define SIZEOF(a) (sizeof(a)/sizeof((a)[0]))

typedef long long ll;

const int MAX_N = 1e6+10;
ll a[MAX_N];
ll b[MAX_N];
ll c[MAX_N];

const int BUFSIZE = 1000000;
char buf[BUFSIZE + 1];
string nextString() {
	scanf("%s", buf); return buf;
}

int main()
{
	string s; cin >> s;
	size_t n = s.size();

	if(n == 2 && s[0]=='1'){
		int i = 1;
		if(s[i]=='0') cout << "ten";		// 10
		if(s[i]=='1') cout << "eleven";		// 11
		if(s[i]=='2') cout << "twelve";		// 12
		if(s[i]=='3') cout << "thirteen";
		if(s[i]=='4') cout << "fourteen";
		if(s[i]=='5') cout << "fifteen";
		if(s[i]=='6') cout << "sixteen";
		if(s[i]=='7') cout << "seventeen";
		if(s[i]=='8') cout << "eigthteen";
		if(s[i]=='9') cout << "neinteen";
		cout << endl;
		return 0;
	}

	if(n == 2){
		int i = 0;
		if(s[i]=='2') cout << "twenty";
		if(s[i]=='3') cout << "thirty";
		if(s[i]=='4') cout << "forty";
		if(s[i]=='5') cout << "fifty";
		if(s[i]=='6') cout << "sixty";
		if(s[i]=='7') cout << "seventy";
		if(s[i]=='8') cout << "eigthty";
		if(s[i]=='9') cout << "ninety";

		if(s[1]=='0'){
			cout << endl;
			return 0;
		}else{
			cout << '-';
		}
	}

	if(n >= 1){
		int i = n-1;
		if(s[i]=='1') cout << "one";
		if(s[i]=='2') cout << "two";
		if(s[i]=='3') cout << "three";
		if(s[i]=='4') cout << "four";
		if(s[i]=='5') cout << "five";
		if(s[i]=='6') cout << "six";
		if(s[i]=='7') cout << "seven";
		if(s[i]=='8') cout << "eight";
		if(s[i]=='9') cout << "nine";
	}
	cout << endl;
	return 0;
}

#include <iostream>
#include <string>
#include <math.h>
using namespace std;
int main(){
	int i,j,n;
	char a[10][10] = { "one",
	"two",
	"three",
	"four",
	"five",
	"six",
	"seven",
	"eight",
	"nine",
	"ten"
	};
	char b[10][10] = {
		"eleven", "twelve", "thirteen", "fourteen", "fifteen", "sixteen", "seventeen", "eighteen", "nineteen"};
	char c[10][10] = {"twenty", "thirty", "fourty", "fifty", "sixty", "seventy", "eighty", "ninety"};

	cin >> n;
	if(n<=10)
	{
		for(j=0;j<10;j++)
		if(a[n-1][j] != '\0')
		{
			cout << a[n-1][j];
		}
	}
	else if(n>10 && n<20)
	{
		for(j=0;j<10;j++)
		if(b[n-1-10][j] != '\0')
		{
		cout << b[n-1-10][j];
		}
	}
	else
	{
		for(j=0;j<10;j++)
		if(c[n/10 - 2][j] != '\0')
		{
			cout << c[n/10 - 2][j];
		}
		if(n%10)
			cout << '-' << a[n%10 - 1];
	}
		cout << '\n';
return 0;
}

/*
ID: marik_k1
PROG:
LANG: C++
*/
#include <bits/stdc++.h>

using namespace std;

//ifstream fin ("input.txt");
//ofstream fout ("output.txt");

#define forn(i,n) for(int i = 0; i < n; ++i)
#define mp make_pair
#define pb push_back
#define all(t) t.begin(),t.end()
#define gcd(x,y) __gcd(x,y)

typedef unsigned long long ull;
typedef long long ll;
typedef pair<int,int> pii;
typedef vector<int> vi;

const int N = 200000;
const ll INF = (ll)10e15;
const double eps = 1e-6;
const long long MOD = 1000000007;
const double PI = M_PI;

string solve(int n){
    map<int,string> m,m1;
    m[0] = "zero";
    m[1] = "one";
    m[2] = "two";
    m[3] = "tree";
    m[4] = "four";
    m[5] = "five";
    m[6] = "six";
    m[7] = "seven";
    m[8] = "eight";
    m[9] = "nine";
    m[11] = "eleven";
    m[12] = "twelve";
    m[13] = "thirteen";
    m[14] = "fourteen";
    m[15] = "fifteen";
    m[16] = "sixteen";
    m[17] = "seventeen";
    m[18] = "eighteen";
    m[19] = "nineteen";
    m[20] = "twenty";
    m[30] = "thirty";
    m[40] = "forty";
    m[50] = "fifty";
    m[60] = "sixty";
    m[70] = "seventy";
    m[80] = "eighty";
    m[90] = "ninety";

    m1[2] = "twenty";
    m1[3] = "thirty";
    m1[4] = "fourty";
    m1[5] = "fifty";
    m1[6] = "sixty";
    m1[7] = "seventy";
    m1[8] = "eighty";
    m1[9] = "ninety";

    if((n >= 0 && n <= 20) || (n > 10 && n % 10 == 0)){
        return  m[n];
    }
    else{
        string res = m1[n / 10];
        res = res;
        res = res + m[n % 10];
        return res;
    }

}

int main(){
	std::ios::sync_with_stdio(false);
	//freopen("input.in","r",stdin);
	//freopen("output.out","w",stdout);

    int n; cin >> n;
    cout << solve(n);
	return 0;
}