k = {
    0: 'zero',
    1: 'one',
    2: 'two',
    3: 'three',
    4: 'four',
    5: 'five',
    6: 'six',
    7: 'seven',
    8: 'eight',
    9: 'nine',
    10: 'ten',
    11: 'eleven',
    12: 'twelve',
    13: 'thirteen',
    14: 'fourteen',
    15: 'fifteen',
    16: 'sixteen',
    17: 'seventeen',
    18: 'eighteen',
    19: 'nineteen',
    20: 'twenty',
    30: 'thirty',
    40: 'forty',
    50: 'fifty',
    60: 'sixty',
    70: 'seventy',
    80: 'eighty',
    90: 'ninety'
    }

n=int(input())
if n in k:
    print(k[n])
else:
    print(k[n//10*10]+'-'+k[n%10])

n = input()
x = ["","","twenty","thirty","forty","fifty","sixty","seventy","eighty","ninety"]
y = ["","one","two","three","four","five","six","seven","eight","nine"]
a = n / 10
b = n % 10
if n == 0:
	print "zero"
elif n == 10:
	print "ten"
elif n == 11:
	print "eleven"
elif n == 12:
	print "twelve"
elif n == 13:
	print "thirteen"
elif n == 14:
	print "fourteen"
elif n == 15:
	print "fifteen"
elif n == 16:
	print "sixteen"
elif n == 17:
	print "seventeen"
elif n == 18:
	print "eighteen"
elif n == 19:
	print "nineteen"
elif b == 0:
	print x[a]
elif a == 0:
	print y[b]
else:
	print str(x[a])+'-'+str(y[b])

import math

number = int(input())

number_list = ["zero","one","two","three","four","five","six","seven","eight","nine"]
teen_list = ["ten","eleven","twelve","thirteen","fourteen","fifteen","sixteen","seventeen","eighteen","nineteen"]
decades_list =["twenty","thirty","forty","fifty","sixty","seventy","eighty","ninety"]

if number <= 9:
    print(number_list[number])
elif number >= 10 and number <= 19:
    tens = number % 10
    print(teen_list[tens])
elif number > 19 and number <= 99:
    ones = math.floor(number/10)
    twos = ones - 2
    tens = number % 10
    if tens == 0:
        print(decades_list[twos])
    elif tens != 0:
        print(decades_list[twos] + "-" + number_list[tens])

FirstDigit = ["zero", "one", "two", "three", "four", "five", "six", "seven", "eight", "nine"]
TenAbove = ["ten", "eleven", "twelve", "thirteen", "fourteen", "fifteen", "sixteen", "seventeen", "eighteen",
            "nineteen"]
Second = ["twenty", "thirty", "forty", "fifty", "sixty", "seventy", "eighty", "ninety"]
N = input()
if len(N) == 1:
    print(FirstDigit[int(N)])
else:
    if int(N) in range(10, 20):
        print(TenAbove[int(N[1])])
    else:
        print(Second[int(N[0]) - 2], end="")
        print("" if N[1] == '0' else "-" + FirstDigit[int(N[1])])

# UB_CodeForces
# Advice: Don't live the others versions of your life
# Location: At home behind my desk
# Caption: Should study for Internet engineering exam but submitting codes
# CodeNumber: 486

digits = ('zero', 'one', 'two', 'three', 'four', 'five', 'six', 'seven', 'eight',
'nine', 'ten', 'eleven', 'twelve', 'thirteen', 'fourteen', 'fifteen',
'sixteen', 'seventeen', 'eighteen', 'nineteen')
tens = ('', '', 'twenty', 'thirty', 'forty', 'fifty', 'sixty', 'seventy',
'eighty', 'ninety')

x = int(raw_input())

if x < 20:
    print digits[x]
else:
    if x % 10 == 0:
        print tens[x/10]
    else:
        print tens[x/10] + '-' + digits[x%10]

a="zero one two three four five six seven eight nine".split()
b="ten eleven twelve thirteen fourteen fifteen sixteen seventeen eighteen nineteen".split()
c="a a twenty thirty forty fifty sixty seventy eighty ninety".split()
n=input()
print c[n//10]+("-"+a[n%10]if n%10else"")if n>19else b[n%10]if n>9else a[n]

units =["zero","one","two","three","four","five","six","seven","eight","nine"]
tens = ["","ten","twenty","thirty","forty","fifty","sixty","seventy","eighty","ninety"]
cooked = ["","eleven","twelve","thirteen","fourteen","fifteen","sixteen","seventeen","eighteen","nineteen"]
n = input()

if len(n)==1:
    print(units[int(n)])
else:
    if n[1]=="0":
        print(tens[int(n[0])])
    else:
        if n[0]=="1":
            print(cooked[int(n[1])])
        else:
            print(tens[int(n[0])]+"-"+units[int(n[1])])

arr = ['one','two','three','four','five','six','seven','eight','nine','ten',\
       'eleven','twelve','thirteen','fourteen','fifteen','sixteen','seventeen',\
       'eighteen','nineteen']
brr = ['','twenty','thirty','forty','fifty','sixty','seventy','eighty','ninety']

n = input()
if n==0:
       print 'zero'
elif n<=19:
       print arr[n-1]
else:
       q = n/10
       s = ''
       if n%10!=0:
              s = '-'+arr[n%10-1]
       print brr[q-1]+s

max=str(input())
z=0
d=0
c=0
pin=str("")
tens=0

for x in max:
   c=c+1

if (c==2):
    z=1
    d=1

for x in max:

    if (z==1) and (tens==0) and (x!="0") and (d==0):
        pin=pin+str("-")

    if (tens==0) and (d==0):
        if x=="1":
            pin=pin+str("one")
        elif x=="2":
            pin=pin+str("two")
        elif x=="3":
            pin=pin+str("three")
        elif x=="4":
            pin=pin+str("four")
        elif x=="5":
            pin=pin+str("five")
        elif x=="6":
            pin=pin+str("six")
        elif x=="7":
            pin=pin+str("seven")
        elif x=="8":
            pin=pin+str("eight")
        elif x=="9":
            pin=pin+str("nine")

    elif (tens==1) and (d==0):
        if x=="0":
            pin=pin+str("ten")
        if x=="1":
            pin=pin+str("eleven")
        elif x=="2":
            pin=pin+str("twelve")
        elif x=="3":
            pin=pin+str("thirteen")
        elif x=="4":
            pin=pin+str("fourteen")
        elif x=="5":
            pin=pin+str("fifteen")
        elif x=="6":
            pin=pin+str("sixteen")
        elif x=="7":
            pin=pin+str("seventeen")
        elif x=="8":
            pin=pin+str("eighteen")
        elif x=="9":
            pin=pin+str("nineteen")

    elif z==1 and d==1:
        if x=="1":
            tens=1
            d=0
        elif x=="2":
            pin=pin+str("twenty")
            d=0
        elif x=="3":
            pin=pin+str("thirty")
            d=0
        elif x=="4":
            pin=pin+str("forty")
            d=0
        elif x=="5":
            pin=pin+str("fifty")
            d=0
        elif x=="6":
            pin=pin+str("sixty")
            d=0
        elif x=="7":
            pin=pin+str("seventy")
            d=0
        elif x=="8":
            pin=pin+str("eighty")
            d=0
        elif x=="9":
            pin=pin+str("ninety")
            d=0

if max=="0":
    print("zero")
else:
    print(pin)

numbers = {
    0: "zero", 10: "ten", 1: "one", 11: "eleven", 2: "two",	12: "twelve", 20: "twenty", 3: "three",
    13: "thirteen", 30: "thirty", 4: "four", 14: "fourteen", 40: "forty", 5: "five", 15: "fifteen",
    50:	"fifty", 6: "six", 16: "sixteen", 60: "sixty", 7: "seven", 17: "seventeen", 70: "seventy",
    8: "eight", 18: "eighteen", 80: "eighty", 9: "nine",19: "nineteen", 90: "ninety"
}
s = int(input())
if s <= 20:
    print(numbers[s])
else:
    if s % 10 == 0:
        print(numbers[s])
    else:
        pre = int(s / 10) * 10
        left = s - pre
        print(numbers[pre] + "-" + numbers[left])

n = raw_input()
ans = []
if n == "0":
    ans.append("zero")
elif n == "10":
    ans.append("ten")
elif n == "11":
    ans.append("eleven")
elif n == "12":
    ans.append("twelve")
elif n == "13":
    ans.append("thirteen")
elif n == "14":
    ans.append("fourteen")
elif n == "15":
    ans.append("fifteen")
elif n == "16":
    ans.append("sixteen")
elif n == "17":
    ans.append("seventeen")
elif n == "18":
    ans.append("eighteen")
elif n == "19":
    ans.append("nineteen")
else:
    if len(n)==2:
        if n[0] == "2":
            ans.append("twenty")
        elif n[0] == "3":
            ans.append("thirty")
        elif n[0] == "4":
            ans.append("forty")
        elif n[0] == "5":
            ans.append("fifty")
        elif n[0] == "6":
            ans.append("sixty")
        elif n[0] == "7":
            ans.append("seventy")
        elif n[0] == "8":
            ans.append("eighty")
        elif n[0] == "9":
            ans.append("ninety")
    if n[len(n)-1] == "1":
        ans.append("one")
    if n[len(n)-1] == "2":
        ans.append("two")
    if n[len(n)-1] == "3":
        ans.append("three")
    if n[len(n)-1] == "4":
        ans.append("four")
    if n[len(n)-1] == "5":
        ans.append("five")
    if n[len(n)-1] == "6":
        ans.append("six")
    if n[len(n)-1] == "7":
        ans.append("seven")
    if n[len(n)-1] == "8":
        ans.append("eight")
    if n[len(n)-1] == "9":
        ans.append("nine")
print "-".join(ans)

a=['zero','one','two','three','four','five','six','seven','eight','nine','ten','eleven','twelve','thirteen','fourteen','fifteen','sixteen','seventeen','eighteen','nineteen']
b=['twenty','thirty','forty','fifty','sixty','seventy','eighty','ninety']
n=int(raw_input())
if n/10<2:
	print a[n]
else:
	if n%10==0:
		print b[n/10-2]
	else:
		print b[n/10-2]+'-'+a[n%10]

a="zero one two three four five six seven eight nine".split()
b="ten eleven twelve thirteen fourteen fifteen sixteen seventeen eighteen nineteen".split()
c="a a twenty thirty forty fifty sixty seventy eighty ninety".split()
n=int(input())
print(c[n//10]+("-"+a[n%10]if n%10else"")if n>19else b[n%10]if n>9else a[n])

n = input()
d = ['zero', 'one', 'two', 'three', 'four', 'five','six','seven','eight','nine', 'ten', 'eleven', 'twelve','thirteen','fourteen', 'fifteen', 'sixteen','seventeen','eighteen','nineteen']
d0 = ['zero','zero', 'twenty', 'thirty', 'forty', 'fifty', 'sixty','seventy','eighty','ninety']
if n < 20:
    print d[n]
else:
    a0  = int(str(n)[0])
    a1 =  int(str(n)[1])
    if not a1:
        print d0[a0]
    else:
        print '-'.join([d0[a0], d[a1]])

a=int(input())
print(['zero', 'one', 'two', 'three', 'four', 'five', 'six', 'seven', 'eight', 'nine', 'ten', 'eleven', 'twelve', 'thirteen', 'fourteen', 'fifteen', 'sixteen', 'seventeen', 'eighteen', 'nineteen', 'twenty', 'twenty-one', 'twenty-two', 'twenty-three', 'twenty-four', 'twenty-five', 'twenty-six', 'twenty-seven', 'twenty-eight', 'twenty-nine', 'thirty', 'thirty-one', 'thirty-two', 'thirty-three', 'thirty-four', 'thirty-five', 'thirty-six', 'thirty-seven', 'thirty-eight', 'thirty-nine', 'forty', 'forty-one', 'forty-two', 'forty-three', 'forty-four', 'forty-five', 'forty-six', 'forty-seven', 'forty-eight', 'forty-nine', 'fifty', 'fifty-one', 'fifty-two', 'fifty-three', 'fifty-four', 'fifty-five', 'fifty-six', 'fifty-seven', 'fifty-eight', 'fifty-nine', 'sixty', 'sixty-one', 'sixty-two', 'sixty-three', 'sixty-four', 'sixty-five', 'sixty-six', 'sixty-seven', 'sixty-eight', 'sixty-nine', 'seventy', 'seventy-one', 'seventy-two', 'seventy-three', 'seventy-four', 'seventy-five', 'seventy-six', 'seventy-seven', 'seventy-eight', 'seventy-nine', 'eighty', 'eighty-one', 'eighty-two', 'eighty-three', 'eighty-four', 'eighty-five', 'eighty-six', 'eighty-seven', 'eighty-eight', 'eighty-nine', 'ninety', 'ninety-one', 'ninety-two' , 'ninety-three', 'ninety-four', 'ninety-five', 'ninety-six', 'ninety-seven', 'ninety-eight', 'ninety-nine'][a])

'''input
0
'''
s = int(input())
ones = "zero one two three four five six seven eight nine".split()
tens = "twenty thirty forty fifty sixty seventy eighty ninety".split()
teens = "ten eleven twelve thirteen fourteen fifteen sixteen seventeen eighteen nineteen twenty".split()
if s < 10:
	print(ones[s])
elif s <= 20:
	print(teens[s-10])
elif s % 10 == 0:
	print(tens[s//10-2])
else:
	print(tens[s//10-2] + "-" + ones[s % 10])

n = int(input())
d = {0:"zero",1:"one",2:"two",3:"three",4:"four",5:"five",6:"six"\
	,7:"seven",8:"eight",9:"nine",10:"ten",11:"eleven",12:"twelve"\
	,13:"thirteen",14:"fourteen",15:"fifteen",16:"sixteen",17:"seventeen",\
	18:"eighteen",19:"nineteen"}

if n in d:
	print(d[n])
elif n//10 == 4:
	if n%10:
		print("forty"+"-"+d[n%10])
	else:
		print("forty")
elif n//10 == 5:
	if n%10:
		print("fifty"+"-"+d[n%10])
	else:
		print("fifty")
elif n//10 == 3:
	if n%10:
		print("thirty"+"-"+d[n%10])
	else:
		print("thirty")
if n//10 == 2:
	if n%10:
		print("twenty"+"-"+d[n%10])
	else:
		print("twenty")
elif n//10 == 8:
	if n%10:
		print(d[n//10]+"y-"+d[n%10])
	else:
		print(d[n//10]+"y")
elif n//10 > 5:
	if n%10:
		print(d[n//10]+"ty-"+d[n%10])
	else:
		print(d[n//10]+"ty")

ONES = ['zero', 'one', 'two', 'three', 'four', 'five', 'six', 'seven',
        'eight', 'nine', 'ten', 'eleven', 'twelve', 'thirteen', 'fourteen',
        'fifteen', 'sixteen', 'seventeen', 'eighteen', 'nineteen']

DOZENS = ['twenty', 'thirty', 'forty', 'fifty',
          'sixty', 'seventy', 'eighty', 'ninety']

n = int(input())

if n > 19:
    dozens, ones = divmod(n, 10)
    print(DOZENS[dozens - 2] + ('-' + ONES[ones] if ones else ''))
else:
    print(ONES[n])

num=dict()
num[0]='zero'
num[1]='one'
num[2]='two'
num[3]='three'
num[4]='four'
num[5]='five'
num[6]='six'
num[7]='seven'
num[8]='eight'
num[9]='nine'
num[10]='ten'
num[20]='twenty'
num[30]='thirty'
num[40]='forty'
num[50]='fifty'
num[60]='sixty'
num[70]='seventy'
num[80]='eighty'
num[90]='ninety'
num[11]='eleven'
num[12]='twelve'
num[13]='thirteen'
num[14]='fourteen'
num[15]='fifteen'
num[16]='sixteen'
num[17]='seventeen'
num[18]='eighteen'
num[19]='nineteen'
n=int(input())
if n in num:
    print(num[n])
else:
    val=n//10
    tens=val*10
    ones=n%10
    print(str(num[tens])+'-'+str(num[ones]))

a = "zero one two three four five six seven eight nine ten".split()
b  = "ten eleven twelve thirteen fourteen fifteen sixteen seventeen eighteen nineteen".split()
c = "a a twenty thirty forty fifty sixty seventy eighty ninety".split()
n = int(input())
print(c[n//10]+('-'+a[n%10] if n%10 else '') if n > 19 else b[n%10] if n > 9 else a[n] )

#!/usr/bin/env python
# -*- coding: utf-8 -*-

digits = ["zero", "one", "two", "three", "four", "five", "six", "seven", "eight", "nine" ]
first_ten = ["ten", "eleven", "twelve", "thirteen", "fourteen", "fifteen", "sixteen", "seventeen", "eighteen", "nineteen" ]
tens = ["", "", "twenty", "thirty", "forty", "fifty", "sixty", "seventy", "eighty", "ninety" ]

n = int(input())

dec  = n//10
unit = divmod(n, 10)[1]

answer =''

if dec == 0:
    print(digits[n])
elif dec == 1:
    print(first_ten[unit])
elif unit == 0:
    print(tens[dec])
else:
    print(tens[dec]+'-'+digits[unit])

def prin(n,s):
    if n/10<1:
        if n==1:
            s+='one'
        elif n==2:
            s+='two'
        elif n==3:
            s+='three'
        elif n==4:
            s+='four'
        elif n==5:
            s+='five'
        elif n==6:
            s+='six'
        elif n==7:
            s+='seven'
        elif n==8:
            s+='eight'
        elif n==9:
            s+='nine'

        print(s)

def tavas_and_nafas(a):
    #a=[int(x) for x in arr]
    s=''
    if a[0]==0:
        s='zero'
    elif a[0]/10<=1:
        n=a[0]
        if n==1:
            s+='one'
        elif n==2:
            s+='two'
        elif n==3:
            s+='three'
        elif n==4:
            s+='four'
        elif n==5:
            s+='five'
        elif n==6:
            s+='six'
        elif n==7:
            s+='seven'
        elif n==8:
            s+='eight'
        elif n==9:
            s+='nine'
        else:
            s+='ten'
    elif a[0]/10>1 and a[0]/20<1:
        if a[0]==11:
            s='eleven'
        elif a[0]==12:
            s='twelve'
        elif a[0]==13:
            s='thirteen'
        elif a[0]==14:
            s='fourteen'
        elif a[0]==15:
            s='fifteen'
        elif a[0]==16:
            s='sixteen'
        elif a[0]==17:
            s='seventeen'
        elif a[0]==18:
            s='eighteen'
        else:
            s='nineteen'
    elif a[0]/20>=1 and a[0]/30<1:
        if a[0]/20==1:
            s='twenty'
        else:
            s='twenty-'
    elif a[0]/30>=1 and a[0]/40<1:
        if a[0]/30==1:
            s='thirty'
        else:
            s='thirty-'
    elif a[0]/40>=1 and a[0]/50<1:
        if a[0]/40==1:
            s='forty'
        else:
            s='forty-'
    elif a[0]/50>=1 and a[0]/60<1:
        if a[0]/50==1:
            s='fifty'
        else:
            s='fifty-'
    elif a[0]/60>=1 and a[0]/70<1:
        if a[0]/60==1:
            s='sixty'
        else:
            s='sixty-'
    elif a[0]/70>=1 and a[0]/80<1:
        if a[0]/70==1:
            s='seventy'
        else:
            s='seventy-'
    elif a[0]/80>=1 and a[0]/90<1:
        if a[0]/80==1:
            s='eighty'
        else:
            s='eighty-'
    elif a[0]/90>=1 and a[0]/100<1:
        if a[0]/90==1:
            s='ninety'
        else:
            s='ninety-'

    if s[len(s)-1]=='-':
        prin(a[0]%10,s)

    else:
        print(s)

a=list(map(int,input('').split()))
tavas_and_nafas(a)

n=input()
s=["-zero","-one","-two","-three","-four","-five","-six","-seven","-eight","-nine"]
if len(n)<=1:
    print(s[int(n)][1:])
elif 10<=int(n)<=19:
    print(["ten","eleven","twelve","thirteen","fourteen","fifteen","sixteen","seventeen","eighteen","nineteen"][int(n)-10])
else:
    base=["","","twenty","thirty","forty","fifty","sixty","seventy","eighty","ninety"]
    s[0]=""
    print(base[int(n[0])]+s[int(n[1])])

n=int(input())
if n==0 :
    print('zero')
if n==1 :
    print('one')
if n==2 :
    print('two')
if n==3 :
    print('three')
if n==4 :
    print('four')
if n==5 :
    print('five')
if n==6 :
    print('six')
if n==7 :
    print('seven')
if n==8 :
    print('eight')
if n==9 :
    print('nine')
if n==10 :
    print('ten')
if n==11 :
    print('eleven')
if n==12 :
    print('twelve')
if n==13 :
    print('thirteen')
if n==14 :
    print('fourteen')
if n==15 :
    print('fifteen')
if n==16 :
    print('sixteen')
if n==17 :
    print('seventeen')
if n==18 :
    print('eighteen')
if n==19 :
    print('nineteen')
if n>19 :
    l=n%10
    p=n//10
    S=['twenty','thirty','forty','fifty','sixty','seventy','eighty','ninety']
    S1=['one','two','three','four','five','six','seven','eight','nine']
    if l!=0 :
        print(S[p-2]+'-'+S1[l-1])
    else :
        print(S[p-2])

n = int(input())
a = ['zero', 'one', 'two', 'three', 'four', 'five', 'six', 'seven', 'eight', 'nine']
b = ['ten', 'eleven', 'twelve', 'thirteen', 'fourteen', 'fifteen', 'sixteen', 'seventeen', 'eighteen', 'nineteen']
c = ['twenty', 'thirty', 'forty', 'fifty', 'sixty', 'seventy', 'eighty', 'ninety']

if n < 10:
    print(a[n])
elif n < 20:
    print(b[n - 10])
else:
    print(c[(n - 20) // 10] + ('-' + a[n % 10] if n % 10 else ''))

n=int(input())

arr=["zero","one","two","three","four","five","six","seven","eight","nine","ten","eleven","twelve","thirteen","fourteen","fifteen","sixteen","seventeen","eighteen","nineteen"]
rra=["zero","one","twenty","thirty","forty","fifty","sixty","seventy","eighty","ninety"]

if n>=0 and n<=19 :
    print(arr[n])
else :
    if n%10==0 :
        print(rra[n//10])
    else :
        print(rra[n//10],end="-")
        print(arr[n%10])

nums = {
	0:"zero",
	1:"one",
	2:"two",
	3:"three",
	4:"four",
	5:"five",
	6:"six",
	7:"seven",
	8:"eight",
	9:"nine",
	10:"ten",
	11:"eleven",
	12:"twelve",
	13:"thirteen",
	14:"fourteen",
	15:"fifteen",
	16:"sixteen",
	17:"seventeen",
	18:"eighteen",
	19:"nineteen",
	20:"twenty",
	30:"thirty",
	40:"forty",
	50:"fifty",
	60:"sixty",
	70:"seventy",
	80:"eighty",
	90:"ninety",
}

num = int(input())

if num in nums:
	print(nums[num])
else:
	last  = num % 10
	dec = num - last
	print(nums[dec]+"-"+nums[last])

nums = {
    90: 'ninety',
    80: 'eighty',
    70: 'seventy',
    60: 'sixty',
    50: 'fifty',
    40: 'forty',
    30: 'thirty',
    20: 'twenty',
    19: 'nineteen',
    18: 'eighteen',
    17: 'seventeen',
    16: 'sixteen',
    15: 'fifteen',
    14: 'fourteen',
    13: 'thirteen',
    12: 'twelve',
    11: 'eleven',
    10: 'ten',
    9: 'nine',
    8: 'eight',
    7: 'seven',
    6: 'six',
    5: 'five',
    4: 'four',
    3: 'three',
    2: 'two',
    1: 'one',
    0: 'zero'
}

num = input()
if len(num) == 2 and int(num) >= 20:
    dec = int(num) - int(num[1])
    uni = int(num[1])

    if int(num[1]) == 0:
        print(nums.get(dec))
    else:
        print(nums.get(dec), end='-')
        print(nums.get(uni))

else:
    uni = int(num)
    print(nums.get(uni))

numbers = {0:'zero', 1:'one', 2:'two', 3:'three', 4:'four', 5:'five', 6:'six', 7:'seven', 8:'eight', 9:'nine',
           10:'ten', 11:'eleven', 12:'twelve', 13:'thirteen', 14:'fourteen', 15:'fifteen', 16:'sixteen',
           17:'seventeen', 18:'eighteen', 19:'nineteen', 20:'twenty', 30:'thirty', 40:'forty', 50:'fifty',
           60:'sixty', 70:'seventy', 80:'eighty', 90:'ninety'}

n = int(input())
if n in numbers:
    print(numbers[n])
else:
    print(numbers[(n//10)*10] + '-' + numbers[n%10])

a="zero one two three four five six seven eight nine".split()
b="ten eleven twelve thirteen fourteen fifteen sixteen seventeen eighteen nineteen".split()
c="a a twenty thirty forty fifty sixty seventy eighty ninety".split()
n=int(input())
print(c[n//10]+("-"+a[n%10]if n%10else"")if n>19else b[n%10]if n>9else a[n])

n = int(input())
a = ['','ten','twenty','thirty','forty','fifty','sixty','seventy','eighty','ninety']; b = ['','one','two','three','four','five','six','seven','eight','nine']; c = ['','eleven','twelve','thirteen','fourteen','fifteen','sixteen','seventeen','eighteen','nineteen']
if n==0:
    print("zero")
elif n % 100 >10 and n % 100 <20:
    print(c[(n%100)-10])
else:
    d = n//10; e = n%10;
    if e==0:
        print(a[d])
    elif d == 0:
        print(b[e])
    else:
        print("%s-%s" %(a[d], b[e]))

n = int(input())

to_19 = ['zero','one','two','three','four','five','six','seven','eight','nine','ten','eleven','twelve','thirteen','fourteen','fifteen','sixteen','seventeen','eighteen','nineteen']
tens = ['twenty','thirty','forty','fifty','sixty','seventy','eighty','ninety']

if n in range(0,20):
	print(to_19[n])
else:
	if n % 10 == 0:
		print(tens[n//10 - 2])
	else:
		n = list(str(n))
		print(tens[int(n[0]) - 2] + '-' + to_19[int(n[1])])

s = int(input())
d = {0: 'zero', 1: 'one', 2: 'two', 3: 'three', 4: 'four', 5: 'five', 6: 'six', 7: 'seven', 8: 'eight', 9: 'nine', 10: 'ten', 11: 'eleven', 12: 'twelve', 13: 'thirteen', 14: 'fourteen', 15: 'fifteen', 16: 'sixteen', 17: 'seventeen', 18: 'eighteen', 19: 'nineteen', 20: 'twenty', 30: 'thirty', 40: 'forty', 50: 'fifty', 60: 'sixty', 70: 'seventy', 80: 'eighty', 90: 'ninety'}

if s in d:
    print(d[s])
else:
    #21
    ans = ""
    while s:
        if s in d:
            ans = d[s] + "-" + ans
            break
        ans += d[s%10]
        s //= 10
        s *= 10
    print(ans)

t = ['one', 'two', 'three', 'four', 'five', 'six', 'seven', 'eight', 'nine']
x=['zero', 'one', 'two', 'three', 'four', 'five', 'six', 'seven', 'eight', 'nine', 'ten', 'eleven', 'twelve', 'thirteen', 'fourteen', 'fifteen', 'sixteen',
    'seventeen', 'eighteen', 'nineteen', 'twenty', 'twenty-one', 'twenty-two', 'twenty-three', 'twenty-four', 'twenty-five', 'twenty-six',
    'twenty-seven', 'twenty-eight', 'twenty-nine', 'thirty']
for i in t:
 x.append('thirty-'+i)

x.append('forty')
for i in t:
 x.append('forty-'+i)

x.append('fifty')

for i in t:
    x.append('fifty-'+i)

x.append('sixty')

for i in t:
    x.append('sixty-'+i)

x.append('seventy')

for i in t:
    x.append('seventy-'+i)

for kk in ['eighty', 'ninety']:
    x.append(kk)
    for i in t:
        x.append(kk+'-'+i)

print(x[int(input())])

a1 = ['oops', 'oops', 'twenty', 'thirty', 'forty', 'fifty', 'sixty', 'seventy', 'eighty', 'ninety']
a2 = ['oops', 'one', 'two', 'three', 'four', 'five', 'six', 'seven', 'eight', 'nine']
n = int(input())
d1, d2 = n // 10, n % 10
if n == 0:
    print('zero')
elif d1 == 0:
    print(a2[d2])
elif d1 == 1:
    if n == 10:
        print('ten')
    elif n == 11:
        print('eleven')
    elif n == 12:
        print('twelve')
    elif n == 13:
        print('thirteen')
    elif n == 14:
        print('fourteen')
    elif n == 15:
        print('fifteen')
    elif n == 16:
        print('sixteen')
    elif n == 17:
        print('seventeen')
    elif n == 18:
        print('eighteen')
    elif n == 19:
        print('nineteen')
else:
    if d2 == 0:
        print(a1[d1])
    else:
        print(a1[d1], a2[d2], sep='-')

a="zero one two three four five six seven eight nine".split()
b="ten eleven twelve thirteen fourteen fifteen sixteen seventeen eighteen nineteen".split()
c="a a twenty thirty forty fifty sixty seventy eighty ninety".split()
n=int(input())
print(c[n//10]+("-"+a[n%10]if n%10else "")if n>19else b[n%10]if n>9else a[n])

class TavasAndNafas:
    def solve(self,s):
        output = ""
        numbers = ["one","two","three","four","five","six","seven","eight","nine"]
        if len(s)==1:
            if s=="0": return "zero"
            else: return numbers[int(s)-1]
        else:
            if s[0]=="1":
                if s[1]=="0": return "ten"
                elif s[1]=="1": return "eleven"
                elif s[1]=="2": return "twelve"
                elif s[1]=="3": return "thirteen"
                elif s[1]=="5": return "fifteen"
                elif s[1]=="8": return "eighteen"
                else: return numbers[int(s[1])-1]+"teen"
            elif s[0] == "2":
                if s[1]=="0": return "twenty"
                else: return "twenty-"+numbers[int(s[1])-1]
            elif s[0] == "3":
                if s[1]=="0": return "thirty"
                else: return "thirty-"+numbers[int(s[1])-1]
            elif s[0] == "4":
                if s[1]=="0": return "forty"
                else: return "forty-"+numbers[int(s[1])-1]
            elif s[0] == "5":
                if s[1]=="0": return "fifty"
                else: return "fifty-"+numbers[int(s[1])-1]
            elif s[0] == "8":
                if s[1]=="0": return "eighty"
                else: return "eighty-"+numbers[int(s[1])-1]
            else:
                if s[1]=="0": return numbers[int(s[0])-1]+"ty"
                else:return numbers[int(s[0])-1]+"ty-"+numbers[int(s[1])-1]
if __name__ == "__main__":
    s = str(raw_input())
    tan = TavasAndNafas()
    print tan.solve(s)

a=['zero','one','two','three','four','five','six','seven','eight','nine','ten']
b=['eleven','twelve','thirteen','fourteen','fifteen','sixteen','seventeen','eighteen','nineteen','twenty']
c=['twenty','thirty','forty','fifty','sixty','seventy','eighty','ninety']
n=input()
z=int(n)
if z<=10:
    print(a[z])
elif z<=20:
    print(b[z-11])
else:
    if n[1]=='0':
        print(c[int(n[0])-2])
    else:
        x=''
        x=x+(c[int(n[0])-2])
        x=x+'-'
        x=x+a[int(n[1])]
        print(x)

x=input()
l=[]
for i in str(x):
    l.append(int(i))
ones={0:'zero',1:'one',2:'two',3:'three',4:'four',5:'five',6:'six',7:'seven',8:'eight',9:'nine'}
tens={2:'twenty',3:'thirty',4:'forty',5:'fifty',6:'sixty',7:'seventy',8:'eighty',9:'ninety'}
teens={0:'ten',1:'eleven',2:'twelve',3:'thirteen',4:'fourteen',5:'fifteen',6:'sixteen',7:'seventeen',8:'eighteen',9:'nineteen'}
if len(l)==1:
    print(ones[l[0]])
elif len(l)==2 and int(x)>=20:
    ten=tens[l[0]]
    if not l[1]==0:
        one=ones[l[1]]
        print(ten+'-'+one)
    else:
        print(ten)
else:
    print(teens[l[1]])

unit = ['zero', 'one', 'two', 'three', 'four', 'five', 'six', 'seven', 'eight', 'nine']
tenth = ['ten','eleven','twelve','thirteen','fourteen','fifteen','sixteen','seventeen','eighteen','nineteen']
tens = ['zero','ten','twenty','thirty','forty','fifty','sixty','seventy','eighty','ninety']

n = input()

if n < 10:
	print unit[n]
elif n < 20:
	print tenth[n-10]
elif n % 10 == 0:
	print tens[n/10]
else:
	print tens[n/10] + '-' + unit[n%10]

n=int(input())
ones=["zero","one","two","three","four","five","six","seven","eight","nine","ten","eleven","twelve","thirteen","fourteen","fifteen","sixteen","seventeen","eighteen","nineteen"]
tens=["","","twenty","thirty","forty","fifty","sixty","seventy","eighty","ninety"]
if n<=19:
    print(ones[n])
else:
    k=n%10
    k1=n//10
    if k==0:
        print(tens[k1])
    else:
        print(tens[k1]+"-"+ones[k])

import sys
x=int(raw_input())
if x<=19:
	if x==0:
		print "zero"
	if x==1:
		print "one"
	elif x==2:
		print "two"
	elif x==3:
		print "three"
	elif x==4:
		print "four"
	elif x==5:
		print "five"
	elif x==6:
		print "six"
	elif x==7:
		print "seven"
	elif x==8:
		print "eight"
	elif x==9:
		print "nine"
	elif x==10:
		print "ten"
	elif x==11:
		print "eleven"
	elif x==12:
		print "twelve"
	elif x==13:
		print "thirteen"
	elif x==14:
		print "fourteen"
	elif x==15:
		print "fifteen"
	elif x==16:
		print "sixteen"
	elif x==17:
		print "seventeen"
	elif x==18:
		print "eighteen"
	elif x==19:
		print "nineteen"
else:
	if x/10==2:
		print "twenty",
		sys.stdout.softspace=0
	elif x/10==3:
		print "thirty",
		sys.stdout.softspace=0
	elif x/10==4:
		print "forty",
		sys.stdout.softspace=0
	elif x/10==5:
		print "fifty",
		sys.stdout.softspace=0
	elif x/10==6:
		print "sixty",
		sys.stdout.softspace=0
	elif x/10==7:
		print "seventy",
		sys.stdout.softspace=0
	elif x/10==8:
		print "eighty",
		sys.stdout.softspace=0
	elif x/10==9:
		print "ninety",
		sys.stdout.softspace=0
	if x%10==1:
		print "-one"
	elif x%10==2:
		print "-two"
	elif x%10==3:
		print "-three"
	elif x%10==4:
		print "-four"
	elif x%10==5:
		print "-five"
	elif x%10==6:
		print "-six"
	elif x%10==7:
		print "-seven"
	elif x%10==8:
		print "-eight"
	elif x%10==9:
		print "-nine"

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

n=int(input())
print(a[n] if n<20 else d[n//10-2] + ('' if n%10 == 0 else '-'+a[n%10]))

word=['zero','one','two','three','four','five','six','seven','eight','nine','ten','eleven','twelve','thirteen','fourteen','fifteen','sixteen','seventeen','eighteen','nineteen']
a=int(raw_input())
if a<=19:print word[a]
else:
    if 20<=a<30:
        k='twenty'
    elif 30<=a<40:
        k='thirty'
    elif 40<=a<50:
        k='forty'
    elif 50<=a<60:
        k='fifty'
    elif 60<=a<70:
        k='sixty'
    elif 70<=a<80:
        k='seventy'
    elif 80<=a<90:
        k='eighty'
    else:
        k='ninety'
    if a%10:k+='-'+word[a%10]
    print k

'''

   			 ||Sri:||

                      __|
 ______________|_________________________
      |    |   ___|    |    |    ___|      |      |    |___
 /\  /\    |   |___    |    |   |___|      |      |    |___|
/  \/  \   |   ___|    |    |         |_/    |___|    |___

I am a beginner. Feel free to send tutorials/help to srinivasan1995@gmail.com.

Codeforces, SPOJ handle: desikachariar.
Hackerrank, Codechef handle: Prof_Calculus.

Advises/Help are welcome. You will definitely get a thanks in return. Comments to be avoided.

College: International Institute of Information Technology, Bangalore.

'''

import math

hsh = {0:"zero", 1:"one", 2:"two", 3:"three", 4:"four", 5:"five", 6:"six", 7:"seven", 8:"eight", 9:"nine", 10:"ten", 11:"eleven", 12:"twelve", 13:"thirteen", 14:"fourteen", 15:"fifteen", 16:"sixteen", 17:"seventeen", 18:"eighteen", 19:"nineteen", 20:"twenty", 30:"thirty", 40:"forty", 50:"fifty", 60:"sixty", 70:"seventy", 80:"eighty", 90:"ninety"}

if __name__ == '__main__':
	x = input()
	ls = [x/10, x%10]
	if(x < 10):
		print hsh[x]
	else:
		if ls[0] == 1:
			print hsh[(ls[0]*10) + ls[1]]
		else:
			if ls[1] == 0:
				print hsh[(ls[0]*10)]
			else:
				print hsh[(ls[0]*10)] + "-" + hsh[ls[1]]

n=int(input())
test={0:'zero',1:'one',2:'two',3:'three',4:'four',5:'five',6:'six',
      7:'seven',8:'eight',9:'nine',10:'ten',11:'eleven',12:'twelve',13:'thirteen',14:'fourteen',
      15:'fifteen',16:'sixteen',17:'seventeen',18:'eighteen',19:'nineteen'}

fir={2:'twenty',3:'thirty',4:'forty',5:'fifty',6:'sixty',7:'seventy',8:'eighty',9:'ninety'}

if n in test:
    print(test[n])
else:
    f=n//10
    if n%10!=0:
        print(fir[f]+'-'+test[n%10])
    else:
        print(fir[f])

#!/usr/bin/env

last_digit = [
    "zero",
    "one",
    "two",
    "three",
    "four",
    "five",
    "six",
    "seven",
    "eight",
    "nine"
    ]
second_digit = [
    "twenty",
    "thirty",
    "forty",
    "fifty",
    "sixty",
    "seventy",
    "eighty",
    "ninety"
    ]

tens = [
    "ten",
    "eleven",
    "twelve",
    "thirteen",
    "fourteen",
    "fifteen",
    "sixteen",
    "seventeen",
    "eighteen",
    "nineteen"
    ]

def read_score(x):
    if len(x) == 1:
        return last_digit[int(x)]
    elif x[0] > "1":
        if x[1] == "0":
            return second_digit[int(x[0]) - 2]
        else:
            return "-".join([
                    second_digit[int(x[0]) - 2],
                    last_digit[int(x[1])]
                    ])
    else:
        return tens[int(x) - 10]

score = input()
print(read_score(score))

#!/usr/bin/env python

s = int(raw_input())

ans = ['zero', 'one', 'two', 'three', 'four', 'five', 'six', 'seven', 'eight', 'nine', 'ten', 'eleven', 'twelve', 'thirteen', 'fourteen', 'fifteen', 'sixteen', 'seventeen', 'eighteen', 'nineteen', 'twenty']

if s <= 20:
	print ans[s]
	exit()

num = [1, 2, 'twenty', 'thirty', 'forty', 'fifty', 'sixty', 'seventy', 'eighty', 'ninety']

if s % 10 == 0:
	print num[s/10]
else:
	print num[s/10] + '-' + ans[s%10]

Dict = {0:"zero",1: 'one', 2: 'two',
        3:"three",4:"four",5:"five",
        6:"six",7:"seven",8:"eight",
        9:"nine",10:"ten",
        11:"eleven",12:"twelve",13:"thirteen",14:"fourteen",15:"fifteen",
        16:"sixteen",17:"seventeen",18:"eighteen",19:"nineteen",
        20:"twenty",
        30:"thirty",40:"forty",
        50:"fifty",60:"sixty",70:"seventy",80:"eighty",90:"ninety"}
n=int(input())
rem=n%10
q=n//10
s=str()
if(rem!=0 and q>1):
  s+=Dict[int(q)*10]
  s=s+"-"
  s+=Dict[rem]
  print(s)

elif(rem!=0 and (q==0 or q==1)):
  print(Dict[n])

else:
  print(Dict[int(q)*10])

n = raw_input()
s = ""
if n == '0':
    print "zero"
    exit()
if len(n) == 2:
    if n[0] == '1':
        n = int(n)
        if n == 10:
            print "ten"
        elif n == 11:
            print "eleven"
        elif n == 12:
            print "twelve"
        elif n == 13:
            print "thirteen"
        elif n == 14:
            print "fourteen"
        elif n == 15:
            print "fifteen"
        elif n == 16:
            print "sixteen"
        elif n == 17:
            print "seventeen"
        elif n == 18:
            print "eighteen"
        elif n == 19:
            print "nineteen"
        exit()
    elif n[0] == '2':
        s += "twenty"
    elif n[0] == '3':
        s += "thirty"
    elif n[0] == '4':
        s += "forty"
    elif n[0] == '5':
        s += "fifty"
    elif n[0] == '6':
        s += "sixty"
    elif n[0] == '7':
        s += "seventy"
    elif n[0] == '8':
        s += "eighty"
    elif n[0] == '9':
        s += "ninety"
    if n[1] != '0':
        s += '-'
    n = n[1:]

if n[0] == '1':
    s += "one"
elif n[0] == '2':
    s += "two"
elif n[0] == '3':
    s += "three"
elif n[0] == '4':
    s += "four"
elif n[0] == '5':
    s += "five"
elif n[0] == '6':
    s += "six"
elif n[0] == '7':
    s += "seven"
elif n[0] == '8':
    s += "eight"
elif n[0] == '9':
    s += "nine"
print s

import sys

values = {0 : 'zero',
          1 : 'one',
          2 : 'two',
          3 : 'three',
          4 : 'four',
          5 : 'five',
          6 : 'six',
          7 : 'seven',
          8 : 'eight',
          9 : 'nine',
          10 : 'ten',
          11 : 'eleven',
          12 : 'twelve',
          13 : 'thirteen',
          14 : 'fourteen',
          15 : 'fifteen',
          16 : 'sixteen',
          17 : 'seventeen',
          18 : 'eighteen',
          19 : 'nineteen',
          20 : 'twenty',
          30 : 'thirty',
          40 : 'forty',
          50 : 'fifty',
          60 : 'sixty',
          70 : 'seventy',
          80 : 'eighty',
          90 : 'ninety'}

def solve(inp):
    if inp in values:
        return values[inp]
    else:
        remaining = inp
        while remaining-10 > 0:
            remaining -= 10
        res = values[inp-remaining]+"-"+values[remaining]
        return res

inp = int(sys.stdin.readline())
print(solve(inp))
#for i in range(0, 100):
#    print(solve(i))

tens = ['Twenty', 'Thirty', 'Forty', 'Fifty', 'Sixty', 'Seventy', 'Eighty', 'Ninety']
ones = {1: 'one', 2: 'two', 3: 'three', 4: 'four', 5: 'five', 6: 'six', 7: 'seven', 8: 'eight', 9: 'nine', 10: 'ten', 11: 'eleven', 12: 'twelve', 13: 'thirteen', 14: 'fourteen', 15: 'fifteen', 16: 'sixteen', 17: 'seventeen', 18: 'eighteen', 19: 'nineteen'}
def numtoword(num):
    if num >= 1 and num < 20:
        return (ones[num])
    elif num < 100:
        t , u = divmod(num , 10)
        return (tens[t-2].lower() + '-' + ones[u]).lower()
t = int(raw_input())
if t == 0:
    print "zero"
elif t  == 10:
    print "ten"
elif t % 10 == 0:
    print tens[(t/10)-2].lower()
else:
    print numtoword(t)

from fractions import Fraction as F
import math
import sys

fi = sys.stdin
fo = sys.stdout
fe = sys.stderr
exit = sys.exit

readline = raw_input

def readargs(tp=None):
    if tp is not None:
        return map(tp, readline().split())
    return readline().split()

def yesno(flag, yes='', no=''):
    if flag:
        print yes if yes else 'YES'
    else:
        print no if no else 'NO'

truefalse = lambda flag : yesno(flag, yes='TRUE', no='FALSE')

words = ['zero', 'one', 'two', 'three', 'four', 'five', 'six', 'seven', 'eight', 'nine', 'ten',
         'eleven', 'twelve', 'thirteen', 'fourteen', 'fifteen', 'sixteen', 'seventeen', 'eighteen', 'nineteen']

twords = ['twenty', 'thirty', 'forty', 'fifty', 'sixty', 'seventy', 'eighty', 'ninety']

i = readargs(int)[0]

if i < 20:
    print words[i]
else:
    if i % 10 == 0:
        print twords[i / 10 - 2]
    else:
        print '%s-%s' % (twords[i / 10 - 2], words[i % 10])

def single(num:int) -> str:
    if num == 1:
        return 'one'
    if num == 2:
        return 'two'
    if num == 3:
        return 'three'
    if num == 4:
        return 'four'
    if num == 5:
        return 'five'
    if num == 6:
        return 'six'
    if num == 7:
        return 'seven'
    if num == 8:
        return 'eight'
    if num == 9:
        return 'nine'

def decade(num:int) -> str:
    if num == 2:
        return 'twenty'
    if num == 3:
        return 'thirty'
    if num == 4:
        return 'forty'
    if num == 5:
        return 'fifty'
    if num == 6:
        return 'sixty'
    if num == 7:
        return 'seventy'
    if num == 8:
        return 'eighty'
    if num == 9:
        return 'ninety'

score = int(input())
if score == 0:
    print('zero')
elif score == 10:
    print('ten')
elif score == 11:
    print('eleven')
elif score == 12:
    print('twelve')
elif score == 13:
    print('thirteen')
elif score == 14:
    print('fourteen')
elif score == 15:
    print('fifteen')
elif score == 16:
    print('sixteen')
elif score == 17:
    print('seventeen')
elif score == 18:
    print('eighteen')
elif score == 19:
    print('nineteen')
elif score%10 == 0:
    print(decade(score//10))
elif score<10:
    print(single(score))
else:
    print(decade(score//10)+'-'+single(score%10))

from __future__ import division
from collections import Counter as ctr
from math import ceil, log, factorial, sqrt
# reads a line of input and converts into a list of ints
# 1 1 3 => [1, 1, 3]
def rl():
    return [int(i) for i in raw_input().split()]

# reads n lines of input (if n defined) and returns a list of strings
# where each element is a line in the input
# abc
# abcdef
# => ['abc', 'abcdef']
# if n not defined, read first line to get number of lines
# 2
# abc
# abcdef
# => ['abc', 'abcdef']
def rm(n=None):
    if n is None:
        n = input()
    return [raw_input() for i in range(n)]

# same as rm, except converts each line to a list of ints like rl
def rlm(n=None):
    if n is None:
        n = input()
    return [rl() for i in range(n)]

def yn(b):
    if b:
        print "YES"
    else:
        print "NO"

n=int(raw_input())
d={
    0:'',
    1:'one',
    2:'two',
    3:'three',
    4:'four',
    5:'five',
    6:'six',
    7:'seven',
    8:'eight',
    9:'nine',
    10:'ten',
    11:'eleven',
    12:'twelve',
    13:'thirteen',
    14:'fourteen',
    15:'fifteen',
    16:'sixteen',
    17:'seventeen',
    18:'eighteen',
    19:'nineteen',
    20:'twenty',
    30:'thirty',
    40:'forty',
    50:'fifty',
    60:'sixty',
    70:'seventy',
    80:'eighty',
    90:'ninety',
}
def word(n):
    if n == 0:
        return 'zero'
    if n == 1000:
        return 'one thousand'
    word = ''
    if n >= 100:
        word += d[n//100]
        word += ' hundred'
        if n % 100 != 0:
            word += ' and '
        n = n % 100
    if n <= 20:
        word += d[n]
    else:
        word += d[(n//10)*10]
        if n % 10 != 0:
            word += '-'
            word += d[n%10]
    return word
print word(n)

units=["zero","one","two","three","four","five","six","seven","eight","nine"]
tens=["","","twenty","thirty","forty","fifty","sixty","seventy","eighty","ninety"]
mid=["ten","eleven","twelve","thirteen","fourteen","fifteen","sixteen","seventeen","eighteen","nineteen","twenty"]
n=int(raw_input(""))
if n<10:
    print units[n%10]
elif n<20:
    print mid[n%10]
elif n==20:
    print "twenty"
elif n%10==0:
    print tens[n/10]
else:
    print tens[n/10]+"-"+units[n%10]

dict1 = {0: 'zero', 1: 'one', 2: 'two', 3: 'three', 4: 'four', 5: 'five', 6: 'six', 7: 'seven', 8: 'eight', 9: 'nine',
         10: 'ten', 11: 'eleven', 12: 'twelve', 13: 'thirteen', 14: 'fourteen', 15: 'fifteen', 16: 'sixteen',
         17: 'seventeen', 18: 'eighteen', 19: 'nineteen'}
dict2 = {2: 'twenty', 3: 'thirty', 4: 'forty', 5: 'fifty', 6: 'sixty', 7: 'seventy', 8: 'eighty', 9: 'ninety'}
var = int(input())
if var < 20:
    print(dict1[var])
elif var % 10 == 0:
    print(dict2[var / 10])
else:
    print(dict2[int(var / 10)] + '-' + dict1[var % 10])

def prog(t):
    if(t=='0'):
        return "zero"
    if(t=='1'):
        return "one"
    if(t=='2'):
        return "two"
    if(t=='3'):
        return "three"
    if(t=='4'):
        return "four"
    if(t=='5'):
        return "five"
    if(t=='6'):
        return "six"
    if(t=='7'):
        return "seven"
    if(t=='8'):
        return "eight"
    if(t=='9'):
        return "nine"
t = raw_input()
if(len(t)==1):
    print prog(t)
else:
    if(t[0]=='1'):
        t = t[1]
        if(t=='0'):
            print "ten"
        if(t=='1'):
            print "eleven"
        if(t=='2'):
            print "twelve"
        if(t=='3'):
            print "thirteen"
        if(t=='4'):
            print "fourteen"
        if(t=='5'):
            print "fifteen"
        if(t=='6'):
            print "sixteen"
        if(t=='7'):
            print "seventeen"
        if(t=='8'):
            print "eighteen"
        if(t=='9'):
            print "nineteen"
    elif(t[0]=='2'):
        t = t[1]
        if(t=='0'):
            print "twenty"
        else:
            print "twenty-"+prog(t)
    elif(t[0]=='3'):
        t = t[1]
        if(t=='0'):
            print "thirty"
        else:
            print "thirty-"+prog(t)
    elif(t[0]=='4'):
        t = t[1]
        if(t=='0'):
            print "forty"
        else:
            print "forty-"+prog(t)
    elif(t[0]=='5'):
        t = t[1]
        if(t=='0'):
            print "fifty"
        else:
            print "fifty-"+prog(t)
    elif(t[0]=='6'):
        t = t[1]
        if(t=='0'):
            print "sixty"
        else:
            print "sixty-"+prog(t)
    elif(t[0]=='7'):
        t = t[1]
        if(t=='0'):
            print "seventy"
        else:
            print "seventy-"+prog(t)
    elif(t[0]=='8'):
        t = t[1]
        if(t=='0'):
            print "eighty"
        else:
            print "eighty-"+prog(t)
    elif(t[0]=='9'):
        t = t[1]
        if(t=='0'):
            print "ninety"
        else:
            print "ninety-"+prog(t)

def NumTostr(n):
    last_dig = n%10
    first_dig = n/10

    first_dig_nums = ['ten','twenty','thirty','forty','fifty','sixty','seventy','eighty','ninety']
    last_digs_nums = ['one','two','three','four','five','six','seven','eight','nine']
    teens = ['eleven','twelve','thirteen','fourteen','fifteen','sixteen','seventeen','eighteen','nineteen']

    if first_dig == 0:
        if last_dig == 0:
            print 'zero'
        else:
            print last_digs_nums[last_dig-1]
    elif last_dig == 0:
        print first_dig_nums[first_dig-1]
    elif first_dig == 1:
        print teens[last_dig-1]
    else:
        print first_dig_nums[first_dig-1]+'-'+last_digs_nums[last_dig-1]

def main():
    n = int(raw_input())
    NumTostr(n)
main()

x = input()
l1 = ["zero","one","two","three","four","five","six","seven","eight","nine"]
l2 = ["twenty","thirty","forty","fifty","sixty","seventy","eighty","ninety"]
l3 = ["ten","eleven","twelve","thirteen","fourteen","fifteen","sixteen","seventeen","eighteen","nineteen"]
r = ""
if (len(x)==1):
    r = r + l1[int(x)]
elif(len(x)==2 and x[1] != "0" and x[0]!="1"):
    r = r + l2[int(x[0])-2] + "-" + l1[int(x[1])]
elif(x[1]=="0" and x[0] != "1"):
    r = r + l2[int(x[0])-2]
else:
    r = r + l3[int(x[1])]

print(r)

table20 = """zero
one
two
three
four
five
six
seven
eight
nine
ten
eleven
twelve
thirteen
fourteen
fifteen
sixteen
seventeen
eighteen
nineteen
twenty
"""
table100 = """

twenty
thirty
forty
fifty
sixty
seventy
eighty
ninety
"""

def solve(N):
	if N <= 20:
		return table20.split("\n")[N]
	else:
		if N % 10 == 0:
			return table100.split("\n")[N / 10]
		else:
			return table100.split("\n")[N / 10] + "-" + table20.split("\n")[N % 10]

N = int(raw_input())
print solve(N)

x = str(input())
l = ['zero','one','two','three','four','five','six','seven','eight','nine']
if len(x) == 1 :
    print(l[int(x[0])])
elif 20>int(x)>=10 :
    l = ['ten','eleven','twelve','thirteen','fourteen','fifteen','sixteen','seventeen','eighteen','nineteen']
    print(l[int(x[1])])
elif int(x)>=20 :
    l1 =[0,1,'twenty','thirty','forty','fifty','sixty','seventy','eighty','ninety']
    l2 = ['','one','two','three','four','five','six','seven','eight','nine']
    w = '' + str(l1[int(x[0])])
    if x[1]!='0':
        w = w +'-'+str(l2[int(x[1])])
    print(w)

dic={}
dic[1]="one"
dic[2]="two"
dic[3]="three"
dic[4]="four"
dic[5]="five"
dic[6]="six"
dic[7]="seven"
dic[8]="eight"
dic[9]="nine"
dic[0]="zero"
dic[10]="ten"
dic[20]="twenty"
dic[30]="thirty"
dic[40]="forty"
dic[50]="fifty"
dic[60]="sixty"
dic[70]="seventy"
dic[80]="eighty"
dic[90]="ninety"
dic[11]="eleven"
dic[12]="twelve"
dic[13]="thirteen"
dic[14]="fourteen"
dic[15]="fifteen"
dic[16]="sixteen"
dic[17]="seventeen"
dic[18]="eighteen"
dic[19]="nineteen"
n=input()
if n<=20:
	print dic[n]
else:
	if n%10==0:
		print dic[n]
	else:
		string = dic[n-n%10]+'-'+dic[n%10]
		print string

#!/usr/bin/python
n=input()
dic1={1:'ten',2:'twenty',3:'thirty',4:'forty',5:'fifty',6:'sixty',7:'seventy',8:'eighty',9:'ninety'}
dic={1:'one',2:'two',3:'three',4:'four',5:'five',6:'six',7:'seven',8:'eight',9:'nine'}
dic2={1:'eleven',2:'twelve',3:'thirteen',4:'fourteen',5:'fifteen',6:'sixteen',7:'seventeen',8:'eighteen',9:'nineteen'}
p=n%10
q=n/10
if(n==0):
   print "zero"
else:
   if(p==0):
      print dic1[q]
   elif (q==0):
      print dic[p]
   elif (q==1):
      print dic2[p]
   else:
      print dic1[q]+'-'+dic[p]

n = int(input())
ans = ''
l1 = ['zero', 'one', 'two', 'three', 'four', 'five', 'six', 'seven', 'eight', 'nine', 'ten', 'eleven', 'twelve', 'thirteen', 'fourteen', 'fifteen', 'sixteen', 'seventeen', 'eighteen', 'nineteen']
l2 = ['', '', 'twenty', 'thirty', 'forty', 'fifty', 'sixty', 'seventy', 'eighty', 'ninety']
if n < 20:
  ans = l1[n]
else:
  if n % 10 == 0:
    ans = l2[n // 10]
  else:
    ans = l2[n // 10] + '-' + l1[n % 10]
print(ans)

l=list(map(int,input()))
s=['zero','one','two','three','four','five','six','seven','eight','nine']
f=['','ten','twenty','thirty','forty','fifty','sixty','seventy','eighty','ninety']
t=['','eleven','twelve','thirteen','fourteen','fifteen','sixteen','seventeen','eighteen','nineteen']
if len(l)>1:
    if l[0]!=1 and l[1]!=0:
       l[0]=f[l[0]]
       l[1]=s[l[1]]
       print('-'.join(l))
    elif l[0]!=1 and l[1]==0:
        print(f[l[0]])
    else:
        if l[1]==0: print(f[1])
        else: print(t[l[1]])
else: print(s[l[0]])

Num1 = ['zero','one','two','three','four','five','six','seven','eight','nine','ten','eleven','twelve','thirteen','fourteen','fifteen','sixteen','seventeen','eighteen','nineteen']
Num2 = ['twenty','thirty','forty','fifty','sixty','seventy','eighty','ninety']
Num3 = ['','-one','-two','-three','-four','-five','-six','-seven','-eight','-nine']
n=raw_input()
if int(n) < 20:
    print Num1[int(n)]
else:
    print '%s%s' %(Num2[int(n[0])-2],Num3[int(n[1])])

# -*- coding: utf-8 -*-
"""
Created on Mon Apr 13 18:02:27 2020

@author: alexi
"""

#https://codeforces.com/problemset/problem/535/A --- Alexis Galvan

def tavas_nafas():

    dic = {0:'zero',1:'one',2:'two',3:'three',4:'four',5:'five',6:'six',7:'seven',8:'eight',9:'nine',10:'ten',11:'eleven',12:'twelve',13:'thirteen',
           14:'fourteen',15:'fifteen',16:'sixteen',17:'seventeen',18:'eighteen',19:'nineteen',20:'twenty',30:'thirty',40:'forty',50:'fifty',60:'sixty',70:'seventy',
           80:'eighty',90:'ninety'}
    dic_21 = {2:'twenty',3:'thirty',4:'forty',5:'fifty',6:'sixty',7:'seventy',8:'eighty',9:'ninety'}

    number = int(input())

    if number in dic:
        print(dic[number])
    else:
        temp = str(number)
        print(dic_21[int(temp[0])] + '-' + dic[int(temp[1])])

tavas_nafas()

numbers = {
    0: 'zero',
    1: 'one',
    2: 'two',
    3: 'three',
    4: 'four',
    5: 'five',
    6: 'six',
    7: 'seven',
    8: 'eight',
    9: 'nine',
    10: 'ten',
    11: 'eleven',
    12: 'twelve',
    13: 'thirteen',
    14: 'fourteen',
    15: 'fifteen',
    16: 'sixteen',
    17: 'seventeen',
    18: 'eighteen',
    19: 'nineteen',
    20: 'twenty',
    30: 'thirty',
    40: 'forty',
    50: 'fifty',
    60: 'sixty',
    70: 'seventy',
    80: 'eighty',
    90: 'ninety'
}

def run(n):
    number = False
    try:
        number = numbers[n]
    except KeyError:
        first, second = (n / 10) * 10, n % 10
        first, second = numbers[first], numbers[second]
        number = first + '-' + second

    return number

if __name__ == "__main__":
    inpt = raw_input()
    args = [int(el) for el in inpt.split(' ')]
    rtn = run(*args)
    if type(rtn) is list:
        for el in rtn:
            print el

    else:
        print rtn

n = int(input())
ans = ''
l1 = ['', 'one', 'two', 'three', 'four', 'five', 'six', 'seven', 'eight', 'nine', 'ten', 'eleven', 'twelve', 'thirteen', 'fourteen', 'fifteen', 'sixteen', 'seventeen', 'eighteen', 'nineteen']
l2 = ['', '', 'twenty', 'thirty', 'fourty', 'fifty', 'sixty', 'seventy', 'eighty', 'ninety']
if n < 20:
  ans = l1[n]
else:
  if n % 10 == 0:
    ans = l2[n // 10]
  else:
    ans = l2[n // 10] + '-' + l1[n % 10]
print(ans)

FIRST_TEN = ["one", "two", "three", "four", "five", "six", "seven","eight", "nine"]
SECOND_TEN = ["ten", "eleven", "twelve", "thirteen", "fourteen", "fifteen","sixteen", "seventeen", "eighteen", "nineteen"]
OTHER_TENS = ["twenty", "thirty", "forty", "fifty", "sixty", "seventy","eighty", "ninety"]
HUNDRED = "hundred"

s = int(input())

def checkio(number):
    l = len(str(number))
    k = 10 ** (l-1)
    if l == 0 or number == 0:
        return ""
    elif l == 1:
        return FIRST_TEN[number-1]
    elif l == 2:
        if number >=10 and number < 20:
            return SECOND_TEN[number-10]
        else:
            a = number // k - 2
            s = " " if number%k > 0 else ""
            return OTHER_TENS[a] + s + checkio(number%k)
    elif l == 3:
        a = number // k # first number
        s = " " if number%k > 0 else ""
        return FIRST_TEN[a-1] + " " + HUNDRED + s + checkio(number%k)

print(checkio(s))

ip = int(raw_input())
one = ip%10
ten = ip/10
ones = {1:"one", 2:"two", 3:"three", 4:"four", 5:"five", 6:"six", 7:"seven", 8:"eight", 9:"nine", 0:"zero"}
tens = {1:"ten", 2:"twenty", 3:"thirty", 4:"fourty", 5:"fifty", 6:"sixty", 7:"seventy", 8:"eighty", 9:"ninety"}
exp = {1:"eleven", 2:"twelve", 3:"thirteen", 4:"fourteen", 5:"fifteen", 6:"sixteen", 7:"seventeen", 8:"eighteen", 9:"nineteen"}
ans = ""
if ten == 0:
        ans += ones[one]
else:
    if one == 0:
        ans += tens[ten]
    elif ten == 1:
        ans += exp[one]
    else:
        ans += tens[ten]
        ans += "-"
        ans += ones[one]
print ans

m=input("Enter a number : ")
if (m==0):
    print "zero"
def fun1(n):
    if(n==0): return ""
    elif(n==1): return "one"
    elif(n==2): return "two"
    elif(n==3): return "three"
    elif(n==4): return "four"
    elif(n==5): return "five"
    elif(n==6): return "six"
    elif(n==7): return "seven"
    elif(n==8): return "eight"
    elif(n==9): return "nine"
    elif(n==10): return "ten"
    elif(n==11): return "eleven"
    elif(n==12): return "twelve"
    elif(n==13): return "thirteen"
    elif(n==14): return "fourteen"
    elif(n==15): return "fifteen"
    elif(n==16): return "sixteen"
    elif(n==17): return "seventeen"
    elif(n==18): return "eighteen"
    elif(n==19): return "nineteen"
def fun2(n):
    if(n==0 or n==1): return ""
    elif(n==2): return "twenty"
    elif(n==3): return "thirty"
    elif(n==4): return "fourty"
    elif(n==5): return "fifty"
    elif(n==6): return "sixty"
    elif(n==7): return "seventy"
    elif(n==8): return "eighty"
    elif(n==9): return "ninety"
x=m/10
y=m%10

if(m<20 and m!=0):
  st = fun1(m)

elif(m>20 and y!=0):

  f=fun2(x)+'-'+fun1(y)
  print f

else:
  f=fun2(x)
  print f

import math

number = int(input())

number_list = ["zero","one","two","three","four","five","six","seven","eight","nine"]
teen_list = ["ten","eleven","twelve","thirteen","fourteen","fifteen","sixteen","seventeen","eighteen","nineteen"]
decades_list =["twenty","thirty","forty","fifty","sixty","seventy","eighty","ninety"]

if number <= 9:
    print(number_list[number].capitalize())
elif number >= 10 and number <= 19:
    tens = number % 10
    print(teen_list[tens].capitalize())
elif number > 19 and number <= 99:
    ones = math.floor(number/10)
    twos = ones - 2
    tens = number % 10
    if tens == 0:
        print(decades_list[twos].capitalize())
    elif tens != 0:
        print(decades_list[twos].capitalize() + " " + number_list[tens])

ONES = ['zero', 'one', 'two', 'three', 'four', 'five', 'six', 'seven',
        'eight', 'nine', 'ten', 'eleven', 'twelve', 'thirteen', 'fourteen',
        'fifteen', 'sixteen', 'seventeen', 'eighteen', 'nineteen']

DOZENS = ['twenty', 'thirty', 'fourty', 'fifty',
          'sixty', 'seventy', 'eighty', 'ninety']

n = int(input())

if n > 19:
    dozens, ones = divmod(n, 10)
    print(DOZENS[dozens - 2] + ('-' + ONES[ones] if ones else ''))
else:
    print(ONES[n])

arr = ['zero', 'one', 'two', 'three', 'four', 'five', 'six', 'seven', 'eight',
       'nine', 'ten', 'eleven', 'twelve', 'thirteen', 'fourteen', 'fifteen']
arr1 = ['twenty', 'thirty', 'forty', 'fifty', 'sixty', 'seventy', 'eighty', 'ninety']

n = int(input())
if (n > 15 and n < 20):
    print(arr[n % 10] + 'teen')
elif (n > 19):
    if (n % 10 == 0):
        print(arr1[n // 10 - 2])
    else:
        print(arr1[n // 10 - 2] + '-' + arr[n % 10])
else:
    print(arr[n])

l1=['one','two','three','four','five','six','seven','eight','nine']
l2=['ten','eleven','twelve','thirteen','fourteen','fifteen','sixteen','seventeen','eighteen','nineteen']
l3=['twenty','thirty','forty','fifty','sixty','seventy','eighty','ninety']
n=str(input())
if(len(n)==1):
    print(l1[int(n)-1])
    exit()
if(len(n)==2 and n[0]=="1"):
    print(l2[int(n)-int(n)//10*10])
    exit()
if(n[1]=="0"):
    print(l3[int(n)//10-2])
    exit()
if(len(n)==1 and n[0]=="0"):
    print("zero")
    exit()
print(l3[int(n[0])-2] , "-" , l1[int(n[1])-1], sep='')

s = int(input())
if(s>=20):
    num = s//10
    if num == 2:
        print("twenty",end="")
    elif num == 3:
        print("thirty",end="")
    elif num == 4:
        print("forty",end="")
    elif num == 5:
        print("fifty",end="")
    elif num == 6:
        print("sixty",end="")
    elif num == 7:
        print("seventy",end="")
    elif num == 8:
        print("eighty",end="")
    elif num == 9:
        print("ninety",end="")
if(s>=20 and s%10!=0):
    print("-",end="")
if s == 10:
    print("ten",end="")
if s == 11:
    print("eleven",end="")
if s == 12:
    print("twelve",end="")
if s == 13:
    print("thirteen",end="")
if s == 14:
    print("fourteen",end="")
if s == 15:
    print("fifteen",end="")
if s == 16:
    print("sixteen",end="")
if s == 17:
    print("seventeen",end="")
if s == 18:
    print("eighteen",end="")
if s == 19:
    print("nineteen",end="")
s = s%10
if s == 1:
    print("one",end="")
if s == 2:
    print("two",end="")
if s == 3:
    print("three",end="")
if s == 4:
    print("four",end="")
if s == 5:
    print("five",end="")
if s == 6:
    print("six",end="")
if s == 7:
    print("seven",end="")
if s == 8:
    print("eight",end="")
if s == 9:
    print("nine",end="")

num2words = {1: 'One', 2: 'Two', 3: 'Three', 4: 'Four', 5: 'Five', 6: 'Six', 7: 'Seven', 8: 'Eight', 9: 'Nine', 10: 'Ten',
            11: 'Eleven', 12: 'Twelve', 13: 'Thirteen', 14: 'Fourteen',
            15: 'Fifteen', 16: 'Sixteen', 17: 'Seventeen', 18: 'Eighteen',
            19: 'Nineteen', 20: 'Twenty', 30: 'Thirty', 40: 'Forty',
            50: 'Fifty', 60: 'Sixty', 70: 'Seventy', 80: 'Eighty',
            90: 'Ninety', 0: 'Zero'}

def n2w(n):
    return num2words[n-n%10] + '-' + num2words[n%10].lower()

n = input()

print n2w(n).lower()

def score (n):
    ref = {1:"one" , 2:"two",3:"three",4:"four",5:"five",6:"six",7:"seven",8:"eight",9:"nine",
           10:"ten",11:"eleven",12:"twelve",13:"thirteen",14:"fourteen",15:"fifteen",16:"sixteen",
           17:"seventeen",18:"eighteen",19:"nineteen",20:"twenty",30:"thirthy",40:"fourty",50:"fifthy",
           60:"sixty",70:"seventy",80:"eighty",90:"ninety"}

    n = list(n)
    if len(n) == 1:
        return ref[int(n[0])]
    elif n[0] == "1" :
        return ref[int(n[0]+n[1])]
    elif n[1] == "0" :
        return ref[int(n[0]+n[1])]
    else:
        ans = ""
        ans += ref[int(n[0]+"0")]
        ans += "-"
        ans += ref[int(n[1])]
        return ans

print (score(input()))

s=int(raw_input("enter the number.(0-99):",))
zhenshu=("ten","twenty","thirty","forty","fifty","sixty","seventy","eighty",
         "ninety")
xiaodeshu=("zero","one","two","three","four","five",
           "six","seven","eight","nine")
if s>99:
    print "you have entered a wrong number"
else:
    if s%10==0 and s>=10:
        print zhenshu[s/10-1]
    elif s<10:
        print xiaodeshu[s-1]
    else:
        print zhenshu[int(s/10)-1]+"-"+xiaodeshu[s%10]

s = raw_input()
a = ['zero', 'one', 'two', 'three', 'four', 'five', 'six', 'seven', 'eight', 'nine', 'ten', 'eleven', 'twelve', 'thirteen', 'fourteen', 'fifteen', 'sixteen', 'seventeen', 'eighteen', 'nineteen']
c = ['', '', 'twenty', 'thirty', 'forty', 'fifty', 'sixty', 'seventy', 'eighty', 'ninty']
d = int(s)
if d < 20:
	print a[d]
else:
	e = int(s[1])
	print c[int(s[0])] + ('-' + a[e] if e > 0 else '')

s = input()
a = ['one', 'two', 'three', 'four', 'five', 'six', 'seven', 'eight', 'nine', 'ten', 'eleven', 'twelve', 'thirteen', 'fourteen', 'fifteen', 'sixteen', 'seventeen', 'eighteen', 'nineteen']
if int(s) == 0:
    print('zero')
elif int(s) < 20:
    print(a[int(s)-1])
elif int(s) >= 80 and int(s) < 90:
    print('eighty', end = '')
    if int(s) != 80:
        print('-', a[int(s[1])-1], sep = '')
elif int(s) >= 50 and int(s) < 60:
    print('fifty', end = '')
    if int(s) != 80:
        print('-', a[int(s[1])-1], sep = '')
else:
    n = int(s)
    if n > 39:
        if n % 10 == 0:
            print(a[int(s[0])-1], 'ty', sep = '')
        else:
            print(a[int(s[0]) - 1] ,'ty' , '-' , a[int(s[1])-1], sep ='')
    else:
        if n < 30:
            print('twenty', end = '')
            if n % 10 != 0:
                print('-', a[int(s[1])-1], sep = '')
        else:
            print('thirty', end = '')
            if n % 10 != 0:
                print('-', a[int(s[1])-1], sep = '')

u=['','one','two','three','four','five','six','seven','eight','nine','ten','eleven','twelve','thirteen','fourteen','fifteen','sixteen','seventeen','eighteen','nineteen',]
v=['twenty','thirty','fourty','fifty','sixty','seventy','eighty','ninety']
n=int(input())
s=u[n]if n<20 else'-'.join([v[n//10-2],u[n%10]])
if not s:s='zero'
print(s.strip('-')
)

FIRST_TEN = ["one", "two", "three", "four", "five", "six", "seven","eight", "nine"]
SECOND_TEN = ["ten", "eleven", "twelve", "thirteen", "fourteen", "fifteen","sixteen", "seventeen", "eighteen", "nineteen"]
OTHER_TENS = ["twenty", "thirty", "forty", "fifty", "sixty", "seventy","eighty", "ninety"]
HUNDRED = "hundred"

s = int(input())

def checkio(number):
    l = len(str(number))
    k = 10 ** (l-1)
    if number == 0:
        return "zero"
    if l == 0:
        return ""
    elif l == 1:
        return FIRST_TEN[number-1]
    elif l == 2:
        if number >=10 and number < 20:
            return SECOND_TEN[number-10]
        else:
            a = number // k - 2
            s = " " if number%k > 0 else ""
            return OTHER_TENS[a] + s + checkio(number%k)
    elif l == 3:
        a = number // k # first number
        s = " " if number%k > 0 else ""
        return FIRST_TEN[a-1] + " " + HUNDRED + s + checkio(number%k)

print(checkio(s))

import math
import sys

def main():
  start = ["zero", "one", "two", "three", "four", "five", "six", "seven",
  "eight", "nine", "ten", "eleven", "twelve", "thirteen", "fourteen", "fifteen",
  "sixteen", "seventeen", "eighteen", "nineteen"]
  prefixes = ["twenty", "thirty", "fourty", "fifty", "sixty", "seventy",
  "eighty", "ninety"]
  n = int(raw_input())
  if n <= len(start) - 1:
    print start[n]
  else:
    out = ""
    digit = int(str(n)[0])
    digit -= 2
    prefix = prefixes[digit]
    other = int(str(n)[1])
    out += prefix
    if n % 10 != 0:
      out += "-"
      out += start[other]
    print out

if __name__ == '__main__':
  main()

l1=['ten'  ,'eleven', 'twelve' ,'thirteen' ,'fourteen','fifteen','sixteen' ,'seventeen','eighteen','nineteen']
l2=['','','twenty','thirty','forty','fifty','sixty','seventy','eighty','ninety']
l3=['','one','tow','three','four','five','six','seven','eight','nine']
n = input()
if n=='0' : print('zero')
elif 10<=int(n)<=19:
    print(l1[int(n)-10])
else:
    if len(n)==1 : print(l3[int(n)])

    else :
        if n[1]=='0':print(l2[int(n[0])])
        else : print(l2[int(n[0])] + '-' + l3[int(n[1])])

s = input()
e = {'0':'zero','1':'one','2':'two','3':'three','4':'four','5':'five',
    '6':'six','7':'seven','8':'eight','9':'nine'}

tens = ['ten','eleven','twelve','thirteen','fourteen','fifteen',
    'sixteen', 'seventeen', 'eighteen','nineteen']

t = {'2':'twenty','3':'thirty','4':'fourty', '5':'fifty', '6':'sixty',
    '7':'seventy','8':'eighty','9':'ninety'}

if len(s)==1:
    print (e[s])
elif s[0] == '1':
    p = int(s[1])
    print (tens[p])
else:
    o = t[s[0]]
    if s[1]!=0:
        o += '-' + e[s[1]]
    print (o)

a = [
'zero',
'one',
'two',
'three',
'four',
'five',
'six',
'seven',
'eight',
'nine']

b =[
'ten',
'eleven',
'twelve',
'thirteen',
'fourteen',
'fifteen',
'sixteen',
'seventeen',
'eighteen',
'nineteen',
]

c = [
'twenty',
'thirty',
'forty',
'fifty',
'sixty',
'seventy',
'eighty',
'ninety',
]

n = input()

if n < 10:
    print a[n]
elif 10 < n < 20:
    print b[n-10]
elif n % 10 == 0:
    print c[n / 10 - 2]
else:
    print "%s-%s" % (c[n / 10 - 2], a[n%10])

n=int(input())
if(n<=20):
    if(n==1):
        print("one")
    if(n==2):
        print("two")
    if(n==3):
        print("three")
    if(n==4):
        print("four")
    if(n==5):
        print("five")
    if(n==6):
        print("six")
    if(n==7):
        print("seven")
    if(n==8):
        print("eight")
    if(n==9):
        print("nine")
    if(n==10):
        print("ten")
    if(n==11):
        print("eleven")
    if(n==12):
        print("twelve")
    if(n==13):
        print("thireen")
    if(n==14):
        print("fourten")
    if(n==15):
        print("fifteen")
    if(n==16):
        print("sixteen")
    if(n==17):
        print("seventeen")
    if(n==18):
        print("eighteen")
    if(n==19):
        print("nineteen")
    if(n==20):
        print("twenty")

ar1=["","one","two","three","four","five","six","seven","eight","nine"]
ar2=["twenty","thirty","forty","fifty","sixty","seventy","eighty","ninety"]
if(n>20):
    c=n%10
    d=n//10
    if(c==0):
        print(ar2[d-2])
    else:
        s=ar2[d-2]+"-"+ar1[c]
        print(s)

n = int(input())
d = {1:"one",2:"two",3:"three",4:"four",5:"five",6:"six"\
	,7:"seven",8:"eight",9:"nine",10:"ten",11:"eleven",12:"twelve"\
	,13:"thirteen",14:"fourteen",15:"fifteen",16:"sixteen",17:"seventeen",\
	18:"eighteen",19:"nineteen"}

if n in d:
	print(d[n])
elif n//10 == 4:
	if n%10:
		print("forty"+"-"+d[n%10])
	else:
		print("forty")
elif n//10 == 5:
	if n%10:
		print("fifty"+"-"+d[n%10])
	else:
		print("fifty")
elif n//10 == 3:
	if n%10:
		print("thirty"+"-"+d[n%10])
	else:
		print("thirty")
if n//10 == 2:
	if n%10:
		print("twenty"+"-"+d[n%10])
	else:
		print("twenty")
elif n//10 == 8:
	if n%10:
		print(d[n//10]+"y-"+d[n%10])
	else:
		print(d[n//10]+"y")
elif n//10 > 5:
	if n%10:
		print(d[n//10]+"ty-"+d[n%10])
	else:
		print(d[n//10]+"ty")

#! /usr/local/python

import math

words = {1: "one",
         2: "two",
         3: "three",
         4: "four",
         5: "five",
         6: "six",
         7: "seven",
         8: "eight",
         9: "nine",
         0: "zero"
     }

tens = {10: "ten",
        11: "eleven",
        12: "twelve",
        13: "thirteen",
        14: "fourteen",
        15: "fifteen",
        16: "sixteen",
        17: "seventeen",
        18: "eighteen",
        19: "nineteen"
    }
tees = {
    2: "twenty",
    3: "thirty",
    4: "forty",
    5: "fifty",
    6: "sixty",
    7: "seventy",
    8: "eighty",
    9: "ninty"
}
def solve(num):
    if num < 10:
        return words [num]
    if num < 20:
        return tens[num]
    return tees[math.floor(num/10.0)] + ("" if num%10 == 0 else "-"+words[num%10])

num = int(raw_input())
print solve(num)
assert(solve(6) == "six")
assert(solve(0) == "zero")
assert(solve(19) == "nineteen")
assert(solve(12) == "twelve")
assert(solve(90) == "ninty")
assert(solve(99) == "ninty-nine")
assert(solve(55) == "fifty-five")

def score (n):
    ref = {1:"one" , 2:"two",3:"three",4:"four",5:"five",6:"six",7:"seven",8:"eight",9:"nine",
           10:"ten",11:"eleven",12:"twelve",13:"thirteen",14:"fourteen",15:"fifthteen",16:"sixteen",
           17:"seventeen",18:"eighteen",19:"nineteen",20:"twenty",30:"thirthy",40:"fourty",50:"fifthy",
           60:"sixty",70:"seventy",80:"eighty",90:"ninety"}

    n = list(n)
    if len(n) == 1:
        return ref[int(n[0])]
    elif n[0] == "1" :
        return ref[int(n[0]+n[1])]
    elif n[1] == "0" :
        return ref[int(n[0]+n[1])]
    else:
        ans = ""
        ans += ref[int(n[0]+"0")]
        ans += "-"
        ans += ref[int(n[1])]
        return ans

print (score(input()))

x=input()
f=int(x)
s=int(x[0])
nums=['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']
if x == 0:
    print("zero")
elif len(x) == 1:
    print(nums[f-1])
else:
    d=int(x[1])
    if f < 20 :
        print(nums[f-1])
    elif f%10 == 0:
        print(nums[s+17])
    else:
        print(nums[s+17]+"-"+nums[d-1])

lis1=["zero","one","two","three","four","five","six","seven","eight","nine"]
list2=["ten","eleven","twelve","thirteen","fourteen","fifteen","sixteen","seventeen","eighteen","nineteen"]
#list3=["twenty","thirty","forty","fifty","sixty","seventy","eighty","ninrty"]
number=input()
y=int(number)
if len(number)==1:
    print(lis1[y])
else:
    if number[0]=='1':
        print(list2[int(number[1])])
    elif number[0]=='2':
        if number[1]=='0':
            print("twenty")
        else:
            print(f"twenty-{lis1[int(number[1])]}")
    elif number[0]=='3':
        if number[1]=='0':
            print("thirty")
        else:
            print(f"thirty-{lis1[int(number[1])]}")
    elif number[0]=='4':
        if number[1]=='0':
            print("fourty")
        else:
            print(f"fourty-{lis1[int(number[1])]}")
    elif number[0]=='5':
        if number[1]=='0':
            print("fifty")
        else:
            print(f"fifty-{lis1[int(number[1])]}")
    elif number[0]=='6':
        if number[1]=='0':
            print("sixty")
        else:
            print(f"sixty-{lis1[int(number[1])]}")
    elif number[0]=='7':
        if number[1]=='0':
            print("seventy")
        else:
            print(f"seventy-{lis1[int(number[1])]}")
    elif number[0]=='8':
        if number[1]=='0':
            print("eighty")
        else:
            print(f"eighty-{lis1[int(number[1])]}")
    elif number[0]=='9':
        if number[1]=='0':
            print("ninety")
        else:
            print(f"ninety-{lis1[int(number[1])]}")

import math

number = int(input("Enter number to print: "))

number_list = ["zero","one","two","three","four","five","six","seven","eight","nine"]
teen_list = ["ten","eleven","twelve","thirteen","fourteen","fifteen","sixteen","seventeen","eighteen","nineteen"]
decades_list =["twenty","thirty","forty","fifty","sixty","seventy","eighty","ninety"]

if number <= 9:
    print(number_list[number].capitalize())
elif number >= 10 and number <= 19:
    tens = number % 10
    print(teen_list[tens].capitalize())
elif number > 19 and number <= 99:
    ones = math.floor(number/10)
    twos = ones - 2
    tens = number % 10
    if tens == 0:
        print(decades_list[twos].capitalize())
    elif tens != 0:
        print(decades_list[twos].capitalize() + " " + number_list[tens])

import sys

def single(number):
    if number == 1:
        print('one')
    elif number == 2:
        print('two')
    elif number == 3:
        print('three')
    elif number == 4:
        print('four')
    elif number == 5:
        print('five')
    elif number == 6:
        print('six')
    elif number == 7:
        print('seven')
    elif number == 8:
        print('eigth')
    elif number == 9:
        print('nine')

def main():
    number = int(input())
    single(number)
    if number == 10:
        print('ten')
    elif number == 11:
        print('eleven')
    elif number == 12:
        print('twelve')
    elif number == 13:
        print('thirteen')
    elif number == 14:
        print('fourteen')
    elif number == 15:
        print('fifteen')
    elif number == 16:
        print('sixteen')
    elif number == 17:
        print('seventeen')
    elif number == 18:
        print('eighteen')
    elif number == 19:
        print('nineteen')
    elif number == 20:
        print('twenty')
    elif 20 < number < 30:
        sys.stdout.write('twenty-')
        single(number % 10)
    elif number == 30:
        print('thirty')
    elif 30 < number < 40:
        sys.stdout.write('thirty-')
        single(number % 10)
    elif number == 40:
        print('forty')
    elif 40 < number < 50:
        sys.stdout.write('forty-')
        single(number % 10)
    elif number == 50:
        print('fifty')
    elif 50 < number < 60:
        sys.stdout.write('fifty-')
        single(number % 10)
    elif number == 60:
        print('sixty')
    elif 60 < number < 70:
        sys.stdout.write('sixty-')
        single(number % 10)
    elif number == 70:
        print('seventy')
    elif 70 < number < 80:
        sys.stdout.write('seventy-')
        single(number % 10)
    elif number == 80:
        print('eighty')
    elif 80 < number < 90:
        sys.stdout.write('eighty-')
        single(number % 10)
    elif number == 90:
        print('ninety')
    elif 90 < number < 100:
        sys.stdout.write('ninety-')
        single(number % 10)
    elif number == 100:
        print('one-hundred')

main()

k = int(input())
ones = k % 10
tens = int(k / 10)

_first = {
  1: 'ten',
  2: 'twenty',
  3: 'thirty',
  4: 'fourty',
  5: 'fifty',
  6: 'sixty',
  7: 'seventy',
  8: 'eighty',
  9: 'ninety'
}

_second = {
  0: 'zero',
  1: 'one',
  2: 'two',
  3: 'three',
  4: 'four',
  5: 'five',
  6: 'six',
  7: 'seven',
  8: 'eight',
  9: 'nine'
}

if (tens == 1):
  if(k == 10):
    print("ten")
  elif(k == 11):
    print("eleven")
  elif(k == 12):
    print("twelve")
  elif(k == 13):
    print("thirteen")
  elif(k == 14):
    print("fourteen")
  elif(k == 15):
    print("fifteen")
  elif(k == 16):
    print("sixteen")
  elif(k == 17):
    print("seventeen")
  elif(k == 18):
    print("eighteen")
  elif(k == 19):
    print("nineteen")
else:
  if (ones == 0 and tens !=0):
    print (_first[tens])
  if (tens == 0):
    print(_second[ones])
  if (tens!=0 and ones!= 0):
    f = _first[tens]
    s = _second[ones]
    finalString = f + "-" + s
    print(finalString)

n = int(input())
s = str(n)
k = len(s)
i = 0
if(n>=20) :
    i = 0
    k = 1
    if(s[i]=='2') :
        print('twenty',end='')
    elif(s[i]=='3') :
        print('thirty',end='')
    elif(s[i]=='4') :
        print('forty',end='')
    elif(s[i]=='5') :
        print('fifty',end='')
    elif(s[i]=='6') :
        print('sixty',end='')
    elif(s[i]=='7') :
        print('seventy',end='')
    elif(s[i]=='8') :
        print('eighty',end='')
    elif(s[i]=='9') :
        print('ninety',end='')
if(n>=19 and n%10!=0) :
    print('-',end='')
if(n<=9 or k==1) :
    if(n<=9) :
        i = 0
    else :
        i = 1
    if(s[i]=='0' and i==0) :
        print('zero')
    elif(s[i]=='1') :
        print('one')
    elif(s[i]=='2') :
        print('two')
    elif(s[i]=='3') :
        print('three')
    elif(s[i]=='4') :
        print('four')
    elif(s[i]=='5') :
        print('five')
    elif(s[i]=='6') :
        print('six')
    elif(s[i]=='7') :
        print('seven')
    elif(s[i]=='8') :
        print('eight')
    elif(s[i]=='9') :
        print('nine')
if(n>=10 and n<=19):
    if(s=='10') :
        print('ten')
    elif(s=='11') :
        print('eleven')
    elif(s=='12') :
        print('twelve')
    elif(s=='13') :
        print('thirteen')
    elif(s=='14') :
        print('fourteen')
    elif(s=='15') :
        print('fifteen')
    elif(s=='16') :
        print('sixteen')
    elif(s=='17') :
        print('seventeen')
    elif(s=='18') :
        print('eighteen')
    elif(s=='19') :
        print('nineteen')

i = int(input())
a = ['zero','one','two','three','four','five','six','seven','eight','nine','ten','eleven','twelve']
n = ['thir','fif','teen','ty','twenty']
if i in range(0,13): print(a[i])
elif i==13 or i==15: print(n[0]+n[2] if i==13 else n[1]+n[2])
elif i == 14 or i in range(16,20): print(a[int(str(i)[1])]+n[2])
elif i == 20 or i in range(21,30): print(n[4] if i == 20 else str(n[4])+"-"+str(a[int(str(i)[1])]))
elif i == 30 or i == 50: print(n[0]+n[3] if i==30 else n[1]+n[3])
elif i in range(31,40) or i in range(51,60): print(str(n[0]+n[3])+"-"+str(a[int(str(i)[1])])
                                                   if i in range(31,40) else str(n[1]+n[3])+"-"+str(a[int(str(i)[1])]))
elif i % 10 == 0: print(a[int(str(i)[0])]+n[3])
else: print(str(a[int(str(i)[0])]+n[3])+"-"+str(a[int(str(i)[1])]))

num=input()
dd={'1':'one','2':'two','3':'three','4':'four','5':'five','6':'six','7':'seven','8':'eight','9':'nine',
    '10':'ten','11':'eleven','12':'twelve','13':'thirteen','14':'fourteen','15':'fifteen',
    '16':'sixteen','17':'seventeen','18':'eighteen','19':'nineteen'}
out=''
if num=='0':
    print('zero')
    exit()
if len(num)==2:
    a=num[0]
    b=num[1]
    if a=='2':
        out+='twenty'
    elif a=='3':
        out+='thirty'
    elif a=='1':
        out+=dd[num]
        print(out)
        exit()
    else:
        if a=='4':
            out+='forty'
        elif a=='5':
            out+='fifty'
        else:
            out+=dd[a]+'ty'
    if b=='0':
        pass
    else:
        out+='-'+dd[b]
if len(num)==1:
    out+=dd[num]
print(out)

n = int(input())
w = ["zero","one","two","three","four","five","six","seven","eight","nine","ten","eleven","twelve"]
w1 = [x + "teen" for x in (["thir"] + w[3:9])]; w1[2] = "fifteen"; w1[5] = "eighteen";
w += w1
w10 = ["twenty","thirty","forty","fifty"] + [x + "ty" for x in w[5:9]]; w10[-2] = "eighty"
for x in w10: w += [x] + [x + "-" + y for y in w[0:9]]
print w[n]

n=int(input())
if(n<=20):
    if(n==0):
        print("zero")
    if(n==1):
        print("one")
    if(n==2):
        print("two")
    if(n==3):
        print("three")
    if(n==4):
        print("four")
    if(n==5):
        print("five")
    if(n==6):
        print("six")
    if(n==7):
        print("seven")
    if(n==8):
        print("eight")
    if(n==9):
        print("nine")
    if(n==10):
        print("ten")
    if(n==11):
        print("eleven")
    if(n==12):
        print("twelve")
    if(n==13):
        print("thireen")
    if(n==14):
        print("fourten")
    if(n==15):
        print("fifteen")
    if(n==16):
        print("sixteen")
    if(n==17):
        print("seventeen")
    if(n==18):
        print("eighteen")
    if(n==19):
        print("nineteen")
    if(n==20):
        print("twenty")

ar1=["","one","two","three","four","five","six","seven","eight","nine"]
ar2=["twenty","thirty","forty","fifty","sixty","seventy","eighty","ninety"]
if(n>20):
    c=n%10
    d=n//10
    if(c==0):
        print(ar2[d-2])
    else:
        s=ar2[d-2]+"-"+ar1[c]
        print(s)

l=list(map(int,input()))
s=['','one','two','three','four','five','six','seven','eight','nine']
f=['','ten','twenty','thirty','fourty','fifty','sixty','seventy','eighty','ninety']
t=['','eleven','twelve','thirteen','fourteen','fifteen','sixteen','seventeen','eighteen','nineteen']
if len(l)>1:
    if l[0]!=1 and l[1]!=0:
       l[0]=f[l[0]]
       l[1]=s[l[1]]
       print('-'.join(l))
    elif l[0]!=1 and l[1]==0:
        print(f[l[0]])
    else:
        if l[1]==0: print(f[1])
        else: print(t[l[0]])
else: print(s[l[0]])

a=int(input())
print(['zero', 'one', 'two', 'three', 'four', 'five', 'six', 'seven', 'eight', 'nine', 'ten', 'eleven', 'twelve', 'thirteen', 'fourteen', 'fifteen', 'sixteen', 'seventeen', 'eighteen', 'nineteen', 'twenty', 'twenty-one', 'twenty-two', 'twenty-three', 'twenty-four', 'twenty-five', 'twenty-six', 'twenty-seven', 'twenty-eight', 'twenty-nine', 'thirty', 'thirty-one', 'thirty-two', 'thirty-three', 'thirty-four', 'thirty-five', 'thirty-six', 'thirty-seven', 'thirty-eight', 'thirty-nine', 'forty', 'forty- one', 'forty-two', 'forty-three', 'forty-four', 'forty-five', 'forty-six', 'forty-seven', 'forty-eight', 'forty-nine', ' fifty', 'fifty-one', 'fifty-two', 'fifty-three', 'fifty-four', 'fifty-five', 'fifty-six', 'fifty-seven', 'fifty-eight', ' fifty-nine', 'sixty', 'sixty-one', 'sixty-two', 'sixty-three', 'sixty-four', 'sixty-five', 'sixty-six', 'sixty-seven', 'sixty-eight', 'sixty-nine', 'seventy', 'seventy-one', 'seventy-two', 'seventy-three', 'seventy-four', 'seventy-five', 'seventy-six', 'seventy-seven', 'seventy-eight', 'seventy-nine', 'eighty', 'eighty-one', 'eighty-two', 'eighty-three', 'eight y-four', 'eighty-five', 'eighty-six', 'eighty-seven', 'eighty-eight', 'eighty-nine', 'ninety', 'ninety-one', 'ninety-two' , 'ninety-three', 'ninety-four', 'ninety-five', 'ninety-six', 'ninety-seven', 'ninety-eight', 'ninety-nine'][a])

#!/usr/bin/env

last_digit = [
    "zero",
    "one",
    "two",
    "three",
    "four",
    "five",
    "six",
    "seven",
    "eight",
    "nine"
    ]
second_digit = [
    "twenty",
    "thirty",
    "forty",
    "fifth",
    "sixty",
    "seventy",
    "eighty",
    "ninety"
    ]

tens = [
    "ten",
    "eleven",
    "twelves",
    "thirteen",
    "forteen",
    "fifteen",
    "sixteen",
    "seventeen",
    "eighteen",
    "nineteen"
    ]

def read_score(x):
    if len(x) == 1:
        return last_digit[int(x)]
    elif x[0] > "1":
        if x[1] == "0":
            return second_digit[int(x[0]) - 2]
        else:
            return "-".join([
                    second_digit[int(x[0]) - 2],
                    last_digit[int(x[1])]
                    ])
    else:
        return tens[int(x) - 10]

score = input()
print(read_score(score))

n = int(input())
small = ['', 'one', 'two', 'three', 'four', 'five', 'six', 'seven', 'eight', 'nine']
big = ['', 'ten', 'twenty', 'thirty', 'forty', 'fifty', 'sixty', 'seventy', 'eighty', 'ninety']
middle = ['', 'eleven', 'twelve', 'thirteen', 'fourteen', 'fifteen', 'sixteen', 'seventeen', 'eightteen', 'nineteen']
if n == 0:
    print('zero')
elif 11 <= n <= 19:
    print(middle[n - 10])
else:
    print(big[n // 10], end='')
    if n % 10 != 0 and n >= 10:
        print('-', end='')
    print(small[n % 10])

# -*- coding: utf-8 -*-
import sys,copy,math,heapq,itertools as it,fractions,re,bisect,collections as coll

dic = {"19":"nineteen", "18":"eighteen", "17":"seventeen", "16":"sixteen", "15":"fifteen", "14":"fourteen", "13":"thirteen",
       "12":"twelve", "11":"eleven", "10":"ten", "9":"nine", "8":"eight", "7":"seven",
       "6":"six" , "5":"five", "4":"four", "3":"three", "2":"two", "1":"one", "0":"zero"}
dic10 = {"9":"ninety", "8":"eighty", "7":"seventy", "6":"sixty", "5":"fifty", "4":"fourty", "3":"thirty", "2":"twenty"}

s = raw_input()
if s in dic:
    print dic[s]
else:
    if s[1] != "0":
        print dic10[s[0]] + "-" + dic[s[1]]
    else:
        print dic10[s[0]]

s1=["zero","one","two","three","four","five","six","seven","eight","nine"]
s2=['ten','twenty','thirty','forty','fifty','sixty','seventy','eighty','ninety']
ss=raw_input()
if len(ss)==2 and ss[1]=='0': print s2[ord(ss[0])-ord('1')]
elif len(ss)==2: print '-'.join([s2[ord(ss[0])-ord('1')],s1[ord(ss[0])-ord('0')]])
else: print s1[ord(ss[0])-ord('0')]

'''Author:  Abdurasul !!!'''

a=['','one','two','three','four','five','six','seven','eight','nine','ten','eleven','twelve','thirteen','fourteen','fifteen','sixteen','seventeen','eighteen','nineteen','twenty']
b=['','ten','twenty','thirty','forty','fifty','sixty','seventy','eighty','ninety']
n=input()
if int(n)<=20:print(a[int(n)])
else:
    if n[1]=='0':print(b[int(n[0])])
    else:print(b[int(n[0])]+'-'+a[int(n[1])])

l1=['ten'  ,'eleven', 'twelve' ,'thirteen' ,'fourteen','fifteen','sixteen' ,'seventeen','eighteen','nineteen']
l2=['','','twenty','thirty','forty','fifty','sixty','seventy','eighty','ninety']
l3=['','one','two','three','four','five','six','seven','eight','nine']
for i in range(100):
    n = str(i)
    if n=='0' : print('zero')
    elif 10<=int(n)<=19:
        print(l1[int(n)-10])
    else:
        if len(n)==1 : print(l3[int(n)])

        else :
            if n[1]=='0':print(l2[int(n[0])])
            else : print(l2[int(n[0])] + '-' + l3[int(n[1])])

'''

   			 ||Sri:||

                      __|
 ______________|_________________________
      |    |   ___|    |    |    ___|      |      |    |___
 /\  /\    |   |___    |    |   |___|      |      |    |___|
/  \/  \   |   ___|    |    |         |_/    |___|    |___

I am a beginner. Feel free to send tutorials/help to srinivasan1995@gmail.com.

Codeforces, SPOJ handle: desikachariar.
Hackerrank, Codechef handle: Prof_Calculus.

Advises/Help are welcome. You will definitely get a thanks in return. Comments to be avoided.

College: International Institute of Information Technology, Bangalore.

'''

import math

hsh = {0:"zero", 1:"one", 2:"two", 3:"three", 4:"four", 5:"five", 6:"six", 7:"seven", 8:"eight", 9:"nine", 10:"ten", 11:"eleven", 12:"twelve", 13:"thirteen", 14:"fourteen", 15:"fifteen", 16:"sixteen", 17:"seventeen", 18:"eighteen", 19:"nineteen", 20:"twenty", 30:"thirty", 40:"fourty", 50:"fifty", 60:"sixty", 70:"seventy", 80:"eighty", 90:"ninety"}

if __name__ == '__main__':
	x = input()
	ls = [x/10, x%10]
	if(x < 10):
		print hsh[x]
	else:
		if ls[0] == 1:
			print hsh[(ls[0]*10) + ls[1]]
		else:
			if ls[1] == 0:
				print hsh[(ls[0]*10)]
			else:
				print hsh[(ls[0]*10)] + "-" + hsh[ls[1]]

ONES = ['zero', 'one', 'two', 'three', 'four', 'five', 'six', 'seven',
        'eight', 'nine', 'ten', 'eleven', 'twelve', 'thirteen', 'fourteen',
        'fifteen', 'sixteen', 'seventeen', 'eighteen', 'nineteen']

DOZENS = ['twenty', 'thirty', 'fourty', 'fifty',
          'sixty', 'seventy', 'eighty', 'ninety']

n = int(input())

if n > 19:
    dozens, ones = divmod(n, 10)
    print(DOZENS[dozens - 2] + ('-' + ONES[ones] if ones else ''))
else:
    print(ONES[n])

def travis():

    s = raw_input()
    a = []
    n = len(s)

    for i in s:
        if (n > 1 ):
            if (i == '1'):
                if( s == '10'):
                    a.append('ten')
                    break
                if( s == '11'):
                    a.append('eleven')
                    break
                if( s == '12'):
                    a.append('twelve')
                    break
                if( s == '13'):
                    a.append('thirteen')
                    break
                if( s == '14'):
                    a.append('fourteen')
                    break
                if( s == '15'):
                    a.append('fifteen')
                    break
                if( s == '16'):
                    a.append('sixteen')
                    break
                if( s == '17'):
                    a.append('seventeen')
                    break
                if( s == '18'):
                    a.append('eightteen')
                    break
                if( s == '19'):
                    a.append('nineteen')
                    break

            if (i == '2'):
                a.append("twenty")
                n= 0
            if (i == '3'):
                a.append("thirty")
                n = 0
            if (i == '4'):
                a.append("forty")
                n = 0

            if (i == '5'):
                a.append("fifty")
                n = 0
            if (i == '6'):
                a.append("sixty")
                n = 0
            if (i == '7'):
                a.append("seventy")
                n = 0
            if (i == '8'):
                a.append("eighty")
                n = 0
            if (i == '9'):
                a.append("ninety")
                n = 0

        if (i == '1'):
            a.append("one")
        if (i == '2'):
            a.append("two")
        if (i == '3'):
            a.append("three")
        if (i == '4'):
            a.append("four")
        if (i == '5'):
            a.append("five")
        if (i == '6'):
            a.append("six")
        if (i == '7'):
            a.append("seven")
        if (i == '8'):
            a.append("eight")
        if (i == '9'):
            a.append("nine")

    if( len(a) >1):
            print a[0]+'-'+a[1]
    else:
        print a[0]

travis()

n=int(input())
test={0:'zero',1:'one',2:'two',3:'three',4:'foor',5:'five',6:'six',
      7:'seven',8:'eight',9:'nine',10:'ten',11:'eleven',12:'twelve',13:'thirteen',14:'fourteen',
      15:'fifteen',16:'sixteen',17:'seventeen',18:'eighteen',19:'nineteen'}

fir={2:'twenty',3:'thirty',4:'forty',5:'fifty',6:'sixty',7:'seventy',8:'eighty',9:'ninety'}

if n in test:
    print(test[n])
else:
    f=n//10
    if n%10!=0:
        print(fir[f]+'-'+test[n%10])
    else:
        print(fir[f])

#!/usr/bin/python3
# -*- coding: <utf-8> -*-

import itertools as ittls
from collections import Counter

import string

def sqr(x):
    return x*x

def inputarray(func = int):
    return map(func, input().split())

# -------------------------------
# -------------------------------

N = int(input())

digit = ["zero", "one", "two", "three", "four", "five", "six", "seven", "eight", "nine"]
teens = ["twenty", "thirty", "forty", "fifty", "sixty", "seventy", "eighty", "ninety"]

if N <= 9:
    print(digit[N])
elif N <= 20:
    secondteen = ["ten", "eleven", "twelve",
                  "thirteen", "fourteen", "fifteen",
                  "sixteen", "seveteen", "eighteen",
                  "nineteen", "twenty"]
    print(secondteen[N - 10])
else:
    x, y = divmod(N, 10)
    if y != 0:
        print(teens[x - 2] + '-' + digit[y])
    else:
        print(teens[x - 2])

# Description of the problem can be found at http://codeforces.com/problemset/problem/535/A

n = int(input())

s = ""

if n == 0:
    s = "zero"
elif n // 10 == 1:
    if n % 10 == 0:
        s = "ten"
    elif n % 10 == 1:
        s = "eleven"
    elif n % 10 == 2:
        s = "twelve"
    elif n % 10 == 3:
        s = "thirty"
    elif n % 10 == 4:
        s = "fourteen"
    elif n % 10 == 5:
        s = "fifteen"
    elif n % 10 == 6:
        s = "sixteen"
    elif n % 10 == 7:
        s = "seventeen"
    elif n % 10 == 8:
        s = "eighteen"
    elif n % 10 == 9:
        s = "nineteen"
    print(s)
    quit()
elif n // 10 > 1:
    if n // 10 == 9:
        s = "ninety"
    elif n // 10 == 8:
        s = "eighty"
    elif n // 10 == 7:
        s = "seventy"
    elif n // 10 == 6:
        s = "sixty"
    elif n // 10 == 5:
        s = "fifty"
    elif n // 10 == 4:
        s = "forty"
    elif n // 10 == 3:
        s = "thirty"
    elif n // 10 == 2:
        s = "twenty"
if n % 10 != 0:
    if n % 10 == 9:
        s = s + ("-" if len(s) > 0 else "") + "nine"
    elif n % 10 == 8:
        s = s + ("-" if len(s) > 0 else "") + "eight"
    elif n % 10 == 7:
        s = s + ("-" if len(s) > 0 else "") + "seven"
    elif n % 10 == 6:
        s = s + ("-" if len(s) > 0 else "") + "six"
    elif n % 10 == 5:
        s = s + ("-" if len(s) > 0 else "") + "five"
    elif n % 10 == 4:
        s = s + ("-" if len(s) > 0 else "") + "four"
    elif n % 10 == 3:
        s = s + ("-" if len(s) > 0 else "") + "three"
    elif n % 10 == 2:
        s = s + ("-" if len(s) > 0 else "") + "two"
    elif n % 10 == 1:
        s = s + ("-" if len(s) > 0 else "") + "one"

print(s)

n=int(input())
ones=["","one","two","three","four","five","six","seven","eight","nine","ten","eleven","twelve","thirteen","fourteen","fifteen","sixteen","seventeen","eighteen","nineteen"]
tens=["","","twenty","thirty","fourty","fifty","sixty","seventy","eighty","ninety"]
if n<=19:
    print(ones[n])
else:
    k=n%10
    k1=n//10
    if k==0:
        print(tens[k1])
    else:
        print(tens[k1]+"-"+ones[k])

def single(num:int) -> str:
    if num == 1:
        return 'one'
    if num == 2:
        return 'two'
    if num == 3:
        return 'three'
    if num == 4:
        return 'four'
    if num == 5:
        return 'five'
    if num == 6:
        return 'six'
    if num == 7:
        return 'seven'
    if num == 8:
        return 'eight'
    if num == 9:
        return 'nine'

def decade(num:int) -> str:
    if num == 2:
        return 'twenty'
    if num == 3:
        return 'thirty'
    if num == 4:
        return 'forty'
    if num == 5:
        return 'fifty'
    if num == 6:
        return 'sixty'
    if num == 7:
        return 'seventy'
    if num == 8:
        return 'eighty'
    if num == 9:
        return 'ninety'

score = int(input())
if score == 0:
    print('zero')
elif score == 10:
    print('ten')
elif score == 11:
    print('eleven')
elif score == 12:
    print('twelve')
elif score == 13:
    print('thirteen')
elif score == 14:
    print('fourteen')
elif score == 15:
    print('fifteen')
elif score == 16:
    print('sixteen')
elif score == 17:
    print('senventeen')
elif score == 18:
    print('eighteen')
elif score == 19:
    print('nineteen')
elif score%10 == 0:
    print(decade(score//10))
elif score<10:
    print(single(score))
else:
    print(decade(score//10)+'-'+single(score%10))

n = int(input())
d = {1:['ten',
        'eleven',
        'twelve',
        'thirteen',
        'fourteen',
        'fifteen',
        'sixteen',
        'seventeen',
        'eighteen',
        'nineteen',],
     2:'twenty',
     3:'thirty',
     4:'forty',
     5:'fifty',
     6:'sixty',
     7:'seventy',
     8:'eighty',
     9:'ninety'}
f = ['zero',
     'one',
     'two',
     'three',
     'four',
     'five',
     'six',
     'seven',
     'eigth',
     'nine']
if n // 10 == 0:
    print(f[n])
elif n // 10 == 1:
    print(d[1][n%10])
else:
    s = d[n//10];
    if n%10 != 0:
        s = s +'-'+ f[n%10]
    print(s)

n=int(raw_input())

tens = {
  1: 'ten',
  2: 'twenty',
  3: 'thirty',
  4: 'fourty',
  5: 'fifty',
  6: 'sixty',
  7: 'seventy',
  8: 'eighty',
  9: 'ninety',
}

teens = {
  10: 'ten',
  11: 'eleven',
  12: 'twelve',
  13: 'thirteen',
  14: 'fourteen',
  15: 'fifteen',
  16: 'sixteen',
  17: 'seventeen',
  18: 'eighteen',
  19: 'nineteen',
}

ones = {
  1: 'one',
  2: 'two',
  3: 'three',
  4: 'four',
  5: 'five',
  6: 'six',
  7: 'seven',
  8: 'eight',
  9: 'nine',
}

if n == 0:
  print 'zero'
elif n % 10 == 0:
  print tens[n / 10]
elif n < 10:
  print ones[n]
elif 10 <= n < 20:
  print teens[n]
else:
  print (tens[n / 10] + '-' + ones[n%10])

n = input()
a = ("", "", "twenty", "thirty", "fourty", "fifty",
     "sixty", "seventy", "eighty", "ninety")
b = ("", "one", "two", "three", "four",
     "five", "six", "seven", "eight", "nine",
     "ten", "eleven", "twelve", "thirteen",
     "fourteen", "fifteen", "sixteen", "seventeen",
     "eighteen", "nineteen")
ans = ""
if n > 19:
    ans = a[n / 10]
    if n % 10 != 0 and n > 19:
        ans += "-"
    ans += b[n % 10]
else:
    ans = b[n]
print ans

FIRST_TEN = ["one", "two", "three", "four", "five", "six", "seven","eight", "nine"]
SECOND_TEN = ["ten", "eleven", "twelve", "thirteen", "fourteen", "fifteen","sixteen", "seventeen", "eighteen", "nineteen"]
OTHER_TENS = ["twenty", "thirty", "forty", "fifty", "sixty", "seventy","eighty", "ninety"]
HUNDRED = "hundred"

s = int(input())
space = "-"
def checkio(number):
    l = len(str(number))
    k = 10 ** (l-1)
    if number == 0:
        return "zero"
    if l == 0:
        return ""
    elif l == 1:
        return FIRST_TEN[number-1]
    elif l == 2:
        if number >=10 and number < 20:
            return SECOND_TEN[number-10]
        else:
            a = number // k - 2
            s = space if number%k > 0 else ""
            return OTHER_TENS[a] + s + checkio(number%k)
    elif l == 3:
        a = number // k # first number
        s = space if number%k > 0 else ""
        return FIRST_TEN[a-1] + space + HUNDRED + s + checkio(number%k)

print(checkio(s))

n = int(input())

unit = n%10
dec = n//10

dec_s = ""
unit_s = ""

_dec = {2: "twenty", 3: "thirty", 4:"forty", 5: "fifty", 6: "sixty", 7: "seventy", 8: "eighty", 9: "ninety"}
_unit = {1: "one", 2: "two", 3: "three", 4: "four", 5:"five", 6: "six", 7: "seven", 8: "eight", 9: "nine"}

if dec == 1:
	_decenas = {10:"ten",11:"eleven",12:"twelve",13:"thirteen",14:"fourteen",15:"fifteen",16:"sixteen",17:"seventeen",18:"eighteen",19:"nineteen"}
	print(_decenas[n])

if dec >= 2:
	print(_dec[dec]+"-"+_unit[unit])

num=input()
dd={'1':'one','2':'two','3':'three','4':'four','5':'five','6':'six','7':'seven','8':'eight','9':'nine',
    '10':'ten','11':'eleven','12':'twelve','13':'thirteen','14':'fourteen','15':'fifteen',
    '16':'sixteen','17':'seventeen','18':'eighteen','19':'nineteen'}
out=''
if len(num)==2:
    a=num[0]
    b=num[1]
    if a=='2':
        out+='twenty'
    elif a=='3':
        out+='thirty'
    elif a=='1':
        out+=dd[num]
        print(out)
        exit()
    else:
        out+=dd[a]+'ty'
    if b=='0':
        pass
    else:
        out+='-'+dd[b]
if len(num)==1:
    out+=dd[num]
print(out)

a=int(input())
print(['zero', 'one', 'two', 'three', 'four', 'five', 'six', 'seven', 'eight', 'nine', 'ten', 'eleven', 'twelve', 'thirteen', 'fourteen', 'fifteen', 'sixteen', 'seventeen', 'eighteen', 'nineteen', 'twenty', 'twenty-one', 'twenty-two', 'twenty-three', 'twenty-four', 'twenty-five', 'twenty-six', 'twenty-seven', 'twenty-eight', 'twenty-nine', 'thirty', 'thirty-one', 'thirty-two', 'thirty-three', 'thirty-four', 'thirty-five', 'thirty-six', 'thirty-seven', 'thirty-eight', 'thirty-nine', 'forty', 'forty- one', 'forty-two', 'forty-three', 'forty-four', 'forty-five', 'forty-six', 'forty-seven', 'forty-eight', 'forty-nine', ' fifty', 'fifty-one', 'fifty-two', 'fifty-three', 'fifty-four', 'fifty-five', 'fifty-six', 'fifty-seven', 'fifty-eight', ' fifty-nine', 'sixty', 'sixty-one', 'sixty-two', 'sixty-three', 'sixty-four', 'sixty-five', 'sixty-six', 'sixty-seven', 'sixty-eight', 'sixty-nine', 'seventy', 'seventy-one', 'seventy-two', 'seventy-three', 'seventy-four', 'seventy-five', 'seventy-six', 'seventy-seven', 'seventy-eight', 'seventy-nine', 'eighty', 'eighty-one', 'eighty-two', 'eighty-three', 'eighty-four', 'eighty-five', 'eighty-six', 'eighty-seven', 'eighty-eight', 'eighty-nine', 'ninety', 'ninety-one', 'ninety-two' , 'ninety-three', 'ninety-four', 'ninety-five', 'ninety-six', 'ninety-seven', 'ninety-eight', 'ninety-nine'][a])

n = int(input())
small = ['', 'one', 'two', 'three', 'four', 'five', 'six', 'seven', 'eight', 'nine']
big = ['', 'ten', 'twenty', 'thirty', 'forty', 'fifty', 'sixty', 'seventy', 'eighty', 'ninety']
if n == 0:
    print('zero')
    exit()
print(big[n // 10], end='')
if n % 10 != 0 and n >= 10:
    print('-', end='')
print(small[n % 10])

s = int(input())
if(s>=20):
    num = s//10
    if num == 2:
        print("twenty",end="")
    elif num == 3:
        print("thirty",end="")
    elif num == 4:
        print("forty",end="")
    elif num == 5:
        print("fifty",end="")
    elif num == 6:
        print("sixty",end="")
    elif num == 7:
        print("seventy",end="")
    elif num == 8:
        print("eighty",end="")
    elif num == 9:
        print("ninety",end="")
if(s>=20 and s%10!=0):
    print("-",end="")
if s == 10:
    print("ten",end="")
if s == 11:
    print("eleven",end="")
if s == 12:
    print("twelve",end="")
if s == 13:
    print("thirteen",end="")
if s == 14:
    print("fourteen",end="")
if s == 15:
    print("fifteen",end="")
if s == 16:
    print("sixteen",end="")
if s == 17:
    print("seventeen",end="")
if s == 18:
    print("eighteen",end="")
if s == 19:
    print("nineteen",end="")
if s<=10 or s>=20:
    s = s%10
if s == 1:
    print("one",end="")
if s == 2:
    print("two",end="")
if s == 3:
    print("three",end="")
if s == 4:
    print("four",end="")
if s == 5:
    print("five",end="")
if s == 6:
    print("six",end="")
if s == 7:
    print("seven",end="")
if s == 8:
    print("eight",end="")
if s == 9:
    print("nine",end="")

#!/usr/bin/env

last_digit = [
    "zero",
    "one",
    "two",
    "three",
    "four",
    "five",
    "six",
    "seven",
    "eight",
    "nine"
    ]
second_digit = [
    "twenty",
    "thirty",
    "fourty",
    "fifth",
    "sixty",
    "seventy",
    "eighty",
    "ninety"
    ]

tens = [
    "ten",
    "eleven",
    "twelves",
    "thirteen",
    "fourteen",
    "fifteen",
    "sixteen",
    "seventeen",
    "eighteen",
    "nineteen"
    ]

def read_score(x):
    if len(x) == 1:
        return last_digit[int(x)]
    elif x[0] > "1":
        if x[1] == "0":
            return second_digit[int(x[0]) - 2]
        else:
            return "-".join([
                    second_digit[int(x[0]) - 2],
                    last_digit[int(x[1])]
                    ])
    else:
        return tens[int(x) - 10]

score = input()
print(read_score(score))

dic={}
dic[1]="one"
dic[2]="two"
dic[3]="three"
dic[4]="four"
dic[5]="five"
dic[6]="six"
dic[7]="seven"
dic[8]="eight"
dic[9]="nine"
dic[0]="zero"
dic[10]="ten"
dic[20]="twenty"
dic[30]="thirty"
dic[40]="fourty"
dic[50]="fifty"
dic[60]="sixty"
dic[70]="seventy"
dic[80]="eighty"
dic[90]="ninety"
dic[11]="eleven"
dic[12]="twelve"
dic[13]="thirteen"
dic[14]="fourteen"
dic[15]="fifteen"
dic[16]="sixteen"
dic[17]="seventeen"
dic[18]="eighteen"
dic[19]="nineteen"
n=input()
if n<=20:
	print dic[n]
else:
	if n%10==0:
		print dic[n]
	else:
		string = dic[n-n%10]+'-'+dic[n%10]
		print string

Num1 = ['zero','one','two','three','four','five','six','seven','eight','nine','ten','eleven','twelve','thirteen','fourteen','fifteen','sixteen','seventeen','eighteen','nineteen']
Num2 = ['twenty','thirty','forty','fifty','sixty','seventy','eighty','ninety']

n=raw_input()
if int(n) < 20:
    print Num1[int(n)]
else:
    print '%s-%s' %(Num2[int(n[0])-2],Num1[int(n[1])])

import math

number = int(input())

number_list = ["zero","one","two","three","four","five","six","seven","eight","nine"]
teen_list = ["ten","eleven","twelve","thirteen","fourteen","fifteen","sixteen","seventeen","eighteen","nineteen"]
decades_list =["twenty","thirty","forty","fifty","sixty","seventy","eighty","ninety"]

if number <= 9:
    print(number_list[number])
elif number >= 10 and number <= 19:
    tens = number % 10
    print(teen_list[tens])
elif number > 19 and number <= 99:
    ones = math.floor(number/10)
    twos = ones - 2
    tens = number % 10
    if tens == 0:
        print(decades_list[twos])
    elif tens != 0:
        print(decades_list[twos] + " " + number_list[tens])

s = int(input())
ones = ["zero", "one", "two", "three", "four", "five", "six", "seven", "eight", "nine"]
teens = ["ten", "eleven", "twelve", "thirteen", "fourteen", "fifteen", "sixteen", "seventeen", "eighteen", "nineteen"]
tens = ["", "", "twenty", "thirty", "forty", "fifty", "sixty", "seventy", "eighty", "ninety"]

if s < 10:
    print(ones[s])
elif s < 20:
    print(teens[10 - s])
elif s < 100:
    print(tens[s // 10]) if s % 10 == 0 else print(tens[s // 10] + "-" + ones[s % 10])

s = input()
a = ['one', 'two', 'three', 'four', 'five', 'six', 'seven', 'eight', 'nine', 'ten', 'eleven', 'twelve', 'thirteen', 'fourteen', 'fifteen', 'sixteen', 'seventeen', 'eighteen', 'nineteen']
if int(s) == 0:
    print('zero')
elif int(s) < 20:
    print(a[int(s)-1])
elif int(s) >= 80 and int(s) < 90:
    print('eighty', end = '')
    if int(s) != 80:
        print('-', a[int(s[1])-1], sep = '')
else:
    n = int(s)
    if n > 39:
        if n % 10 == 0:
            print(a[int(s[0])-1], 'ty', sep = '')
        else:
            print(a[int(s[0]) - 1] ,'ty' , '-' , a[int(s[1])-1], sep ='')
    else:
        if n < 30:
            print('twenty', end = '')
            if n % 10 != 0:
                print('-', a[int(s[1])-1], sep = '')
        else:
            print('thirty', end = '')
            if n % 10 != 0:
                print('-', a[int(s[1])-1], sep = '')

n = input()
cool = ['zero','one','two','three','four','five','six','seven','eight','nine']
cool2 = [',','twenty','thirty','forty','fifty','sixty','seventy','eighty','ninety']
first = n%100/10
second = n%10
if first == 0:
    print cool[second]
elif first == 1:
    if n == 11:
        print "eleven"
    elif n == 12:
        print "twelve"
    elif n == 13:
        print "thirteen"
    elif n == 14:
        print "fourteen"
    elif n ==15:
        print "fifteen"
    elif n == 16:
        print "sixteen"
    elif n == 17:
        print "seventeen"
    elif n == 18:
        print "eighteen"
    elif n == 19:
        print "nineteen"

else:
    string = ""
    string+=cool2[first-1]
    if second != 0:
        string+='-'+cool[second]
    print string

num2words1 = {0: "zero", 1: 'One', 2: 'Two', 3: 'Three', 4: 'Four', 5: 'Five', \
            6: 'Six', 7: 'Seven', 8: 'Eight', 9: 'Nine', 10: 'Ten', \
            11: 'Eleven', 12: 'Twelve', 13: 'Thirteen', 14: 'Fourteen', \
            15: 'Fifteen', 16: 'Sixteen', 17: 'Seventeen', 18: 'Eighteen', 19: 'Nineteen'}
num2words2 = ['Twenty', 'Thirty', 'Forty', 'Fifty', 'Sixty', 'Seventy', 'Eighty', 'Ninety']

def number(Number):
    if 0 <= Number < 19:
        return num2words1[Number]
    elif 20 <= Number <= 99:
        tens, below_ten = divmod(Number, 10)
        return num2words2[tens - 2] + '-' + num2words1[below_ten]
    else:
        print("Number out of range")

a = number(int(input())).lower()
if a[-1] == '-':
    print(a[:-1])
else:
    print(a)

t = [int(i) for i in input().split()][0]
a = ['zero', 'one', 'two', 'three', 'four', 'five', 'six', 'seven', 'eight', 'nine', 'ten']
a += ['eleven', 'twelve', 'thirteen', 'fourteen', 'fifteen', 'sixteen', 'seventeen', 'eightteen', 'nineteen', 'twenty']
for i in range(21,100):
    if i // 10 == 2:
        cur = 'twenty'
    elif i // 10 == 3:
        cur = 'thirty'
    elif i // 10 == 4:
        cur = 'fourty'
    elif i // 10 == 5:
        cur = 'fifty'
    elif i // 10 == 6:
        cur = 'sixty'
    elif i // 10 == 7:
        cur = 'seventy'
    elif i // 10 == 8:
        cur = 'eighty'
    elif i // 10 == 9:
        cur = 'ninety'
    if i % 10 == 0:
        a.append(cur)
    elif i % 10 == 1:
        a.append(cur + '-one')
    elif i % 10 == 2:
        a.append(cur + '-two')
    elif i % 10 == 3:
        a.append(cur + '-three')
    elif i % 10 == 4:
        a.append(cur + '-four')
    elif i % 10 == 5:
        a.append(cur + '-five')
    elif i % 10 == 6:
        a.append(cur + '-six')
    elif i % 10 == 7:
        a.append(cur + '-seven')
    elif i % 10 == 8:
        a.append(cur + '-eight')
    elif i % 10 == 9:
        a.append(cur + '-nine')
print (a[t])

n = input()

a = ['zero','one','two','three','four','five','six','seven','eight','nine','ten','eleven','twelve','thirteen','fourteen','fifteen','sixteen','seventeen','eighteen','nineteen']
b = ['','','twenty','thirty','forty','fifty','sixty','seventy','eighty','ninety']

if n == 0:
    print a[0]
elif n <= 19:
    print a[n]
else:
    print b[n/10]+'-'+a[n%10]

n = int(input())
lst = ['', 'one', 'two', 'three', 'four', 'five', 'six', 'seven', 'eight', 'nine', 'ten', 'eleven', 'twelve', 'thirteen', 'fourteen', 'fifteen', 'sixteen', 'eighteen', 'nineteen']
lst2 = ['', 'one', 'twen', 'thir', 'for', 'fif', 'six', 'seven', 'eight', 'nine']
if n < 20:
    print(lst[n])
else:
    print(lst2[n//10]+'ty-'+lst[n%10])

def digit(n):
	digits = dict()
	digits[1]=('one',)
	digits[2]=('two','twen')
	digits[3]=('three','thir')
	digits[4]=('four','four')
	digits[5]=('five','fif')
	digits[6]=('six','six')
	digits[7]=('seven','seven')
	digits[8]=('eight','eigh')
	digits[9]=('nine','nine')
	digits[10]=('ten',)
	digits[11]=('eleven',)
	digits[12]=('twelve',)

	if n <= 12:
		return str(digits[n][0])
	else:
		n1 = n/10
		n2 = n%10
		if n1 < 2:
			return str(digits[n2][1]) + 'teen'
		elif n2 < 1:
			return str(digits[n1][1]) + 'ty'
		else:
			return str(digits[n1][1]) + 'ty-' + str(digits[n2][0])

n = int(raw_input())
print digit(n)

'''a = input()
b = input()

#dp = [[-1 for i in range(len(a)+1)] for j in range(len(b+1))]
'''
a = "zero one two three four five six seven eight nine ten".split()
b  = "ten eleven twelve thirteen fourteen fifteen sixteen seventeen eighteen nineteen".split()
c = "a a twenty thirty forty fifty sixty seventy eighty ninety".split()

n = int(input())

if n<=10:
	print(a[n])
elif n<20:
	print(b[n-10])
elif n%10 == 0:
	print(c[n//10])
else:
	print(c[n%10] + "-" + a[n//10])

s=int(raw_input("enter the number.(0-99):",))
zhenshu=("ten","twenty","thirty","forty","fifty","sixty","seventy","eighty",
         "ninety")
xiaodeshu=("zero","one","two","three","four","five",
           "six","seven","eight","nine")
if s>99:
    print "you have entered a wrong number"
else:
    if s%10==0 and s>=10:
        print zhenshu[s/10-1]
    elif s<10:
        print xiaodeshu[s-1]
    else:
        print zhenshu[int(s/10)-1]+"-"+xiaodeshu[s%10]

teens = {11:"eleven", 12:"tweleve", 13:"thirteen", 14:"fourteen",
        15:"fifteen", 16:"sixteen", 17:"seventeen", 18:"eighteen",
        19:"nineteen"}
tens = {10:"ten", 20:"twenty", 30:"thirty", 40:"forty", 50:"fifty",
        60:"sixty", 70:"seventy", 80:"eighty", 90:"ninety"}

ones = {1:"one", 2:"two", 3:"three", 4:"four", 5:"five",
        6:"six", 7:"seven", 8:"eight", 9:"nine"}

n = int(raw_input())
if (n == 0):
    print "zero"
elif (n < 10):
    print ones[n]
elif (n > 10 and n < 20):
    print teens[n]
elif n == 10:
    print "ten"
else:
    if (n % 10 == 0):
        print tens[n - n % 10]
    else:
        print tens[n - n % 10] + "-" + ones[n % 10]

n = int(input())
digits = ["zero", "one", "two", "three", "four", "five", "six", "seven", "eight", "nine"]
if n < 10:
    number = digits[n]
elif n < 20:
    number = digits[n - 10] + "teen"
    if n == 10:
        number = "ten"
    elif n == 11:
        number = "eleven"
    elif n == 12:
        number = "twelve"
    elif n == 13:
        number = number.replace("three", "thir")
    elif n == 15:
        number = number.replace("five", "fif")
else:
    a = n // 10
    number = digits[a] + "ty"
    if 30 > n >= 20:
        number = number.replace("two", "twen")
    elif 40 > n >= 30:
        number = number.replace("three", "thir")
    elif 50 > n >= 40:
        number = number.replace("u", "")
    elif 60 > n >= 50:
        number = number.replace("five", "fif")
    elif 90 > n >= 80:
        number = number.replace("tt", "t")
    number += "-" + digits[n - 10 * a]
    if n % 10 == 0:
        number = number.replace("-", "")
        number = number.replace("zero", "")
print(number)

n=int(input())
ones=["","one","two","three","four","five","six","seven","eight","nine","ten","eleven","twelve","thirteen","fourteen","fifteen","sixteen","seventeen","eighteen","nineteen"]
tens=["","","twenty","thirty","fourty","fifty","sixty","seventy","eighty","ninety"]
if n<=19:
    print(ones[n])
else:
    k=n%10
    k1=n//10
    print(tens[k1]+"-"+ones[k])

a = {
		0:'',
		1:'one',
		2:'two',
		3:'three',
		4:'four',
		5:'five',
		6:'six',
		7:'seven',
		8:'eight',
		9:'nine',
		10:'ten',
		11:'eleven',
		12:'twelve',
		13:'thirteen',
		14:'fourteen',
		15:'fifteen',
		16:'sixteen',
		17:'seventeen',
		18:'eighteen',
		19:'ninteen'
		}
b = {
		2:'twenty',
		3:'thirty',
		4:'forty',
		5:'fifty',
		6:'sixty',
		7:'seventy',
		8:'eighty',
		9:'ninety'
	}
n = int(raw_input())
if(n==0):
	print 'zero'
elif(n<20):
	print a[n]
else:
	x = n/10
	y = n%10
	if not(y==0):
		print b[x]+"-"+a[y]
	else:
		print b[x]

s=['one','two','three','four','five','six','seven','eight','nine']
s2=['twenty','thirty','fourty','fifty','sixty','seventy','eighty','ninety']
ans=""
n=input()
if n==0:
    print 'zero'
elif(n<10):
    print s[n-1]
elif n==10:
    print 'ten'
elif(n==11):
    print 'eleven'
elif n==12:
    print 'twelve'
elif n==13:
    print 'thirteen'
elif n==14:
    print 'fourteen'
elif n==15:
    print 'fifteen'
elif n==16:
    print 'sixteen'
elif n==17:
    print 'seventeen'
elif n==18:
    print 'eighteen'
elif n==19:
    print 'ninghteen'
elif n==20:
    print 'twenty'
elif n%10==0:
    print s2[n/10-2]
else:
    ans=s2[(n-n%10)/10-2]+'-'+s[n%10-1]
    print ans.strip()

s=int(input())
a = ['','one','two','three','four','five','six','seven','eight','nine']
b = ['twenty','thirty','forty','fifty','sixty','seventy','eighty','ninety']
if s == 0: print('zero')
elif s == 10 : print('ten')
elif s == 11: print('eleven')
elif s == 12: print('twelve')
elif s == 13: print('thirteen')
elif s == 14: print('fourteen')
elif s == 15: print('fifteen')
elif s == 16: print('sixteen')
elif s == 17: print('seventeen')
elif s == 18: print('eighteen')
elif s == 19: print('nineteen')
elif s%10 == 0: print(b[s//10-2])
else: print(b[s//10-2]+'-'+a[s%10])

###Codeforces problem 456A###

s = map(int, raw_input())

a2 = ['', '', 'twenty', 'thirty', 'fourty', 'fifty', 'sixty', 'seventy', 'eighty', 'ninety']
a1 = ['zero', 'one', 'two', 'three', 'four', 'five', 'six', 'seven', 'eight', 'nine']
a10 = ['ten', 'eleven', 'twelve', 'thirteen', 'fourteen', 'fifteen', 'sixteen', 'seventeen', 'eighteen', 'nineteen']
if len(s) == 1:
    print a1[s[0]]
else:
    if s[0] == 1:
        print a10[s[1]]
    elif s[1] == 0:
        print a2[s[0]]
    else:
        print a2[s[0]] + '-' + a1[s[1]]

arr=['zero','one','two', 'three','four' ,'five','six','seven' ,'eight' ,'nine','ten']
ar=['twenty','thirty','forty','fifty','sixty','seventy','eighty','ninety']
n = int(input())
if n<=0 and n<=10:
    print(arr[n])
else:
    if n%10==0:
        print(ar[n//10 -2])
    else:
        print(ar[n//10-2]+'-'+arr[n%10])

k = int(input())
ones = k % 10
tens = int(k / 10)

_first = {
  1: 'ten',
  2: 'twenty',
  3: 'thirty',
  4: 'fourty',
  5: 'fifty',
  6: 'sixty',
  7: 'seventy',
  8: 'eighty',
  9: 'ninety'
}

_second = {
  0: 'zero',
  1: 'one',
  2: 'two',
  3: 'three',
  4: 'four',
  5: 'five',
  6: 'six',
  7: 'seven',
  8: 'eight',
  9: 'nine'
}

if (tens == 1):
  if(k == 11):
    print("eleven")
  elif(k == 12):
    print("twelve")
  elif(k == 13):
    print("thirteen")
  elif(k == 14):
    print("fourteen")
  elif(k == 15):
    print("fifteen")
  elif(k == 16):
    print("sixteen")
  elif(k == 17):
    print("seventeen")
  elif(k == 18):
    print("eighteen")
  elif(k == 19):
    print("nineteen")
else:
  if (ones == 0 and tens !=0):
    print (_first[tens])
  if (tens == 0):
    print(_second[ones])
  if (tens!=0 and ones!= 0):
    f = _first[tens]
    s = _second[ones]
    finalString = f + "-" + s
    print(finalString)

edin = {1: 'one', 2: 'two', 3: 'three', 4: 'four', 5:'five', 6:'six', 7:'seven', 8:'eight', 9:'nine'}

des = {2: "twen", 3: "thir", 4: "four", 5: "fif", 6: "six", 7: "seven", 8: "eight", 9: "nine"}

n = int(input())
if n == 0:
    print("zero")
elif 1 <= n < 10:
    print(edin[n])
elif n == 10:
    print("ten")
elif n == 11:
    print("eleven")
elif n == 12:
    print("twelve")
elif n == 18:
    print("eighteen")
elif 13 <= n < 20:
    print("%steen" % des[n % 10])
else:
    print("%sty%s" % (des[n // 10], "-" + edin[n % 10] if n % 10 != 0 else ""))

s = input()
a = ['one', 'two', 'three', 'four', 'five', 'six', 'seven', 'eight', 'nine', 'ten', 'eleven', 'twelve', 'thirteen', 'fourteen', 'fifteen', 'sixteen', 'seventeen', 'eighteen', 'nineteen']
if int(s) == 0:
    print('zero')
elif int(s) < 20:
    print(a[int(s)-1])
elif int(s) >= 80 and int(s) < 90:
    print('eighty', end = '')
    if int(s) != 80:
        print('-', a[int(s[1])-1], sep = '')
elif int(s) >= 50 and int(s) < 60:
    print('fifty', end = '')
    if int(s) != 80:
        print('-', a[int(s[1])-1], sep = '')
elif int(s) >= 40 and int(s) < 50:
    print('forty', end = '')
    if int(s) != 80:
        print('-', a[int(s[1])-1], sep = '')
else:
    n = int(s)
    if n > 39:
        if n % 10 == 0:
            print(a[int(s[0])-1], 'ty', sep = '')
        else:
            print(a[int(s[0]) - 1] ,'ty' , '-' , a[int(s[1])-1], sep ='')
    else:
        if n < 30:
            print('twenty', end = '')
            if n % 10 != 0:
                print('-', a[int(s[1])-1], sep = '')
        else:
            print('thirty', end = '')
            if n % 10 != 0:
                print('-', a[int(s[1])-1], sep = '')

x = int(input())

array = ["one","two","three","four","five","six","seven","eight","nine","ten",
         "eleven","twelve","thirteen","twenty"]
array1 = ["ten","twenty","thirty","forty","fifty","sixty","seventy","eighty",
          "ninety"]

if x < 14 :
    print(array[x-1])
elif x == 20:
    print(array[-1])
elif x == 15:
    print("fifteen")
else:
    a = x % 10
    if x >= 14 and x <= 19:
        print(array[a-1] + "teen")
    elif x % 10 == 0:
        print(array1[int(x/10) - 1])
    else:
        print(array1[int(x/10)-1] + '-' + array[int(x%10)-1])