Today Tavas got his test result as an integer score and he wants to share it with his girlfriend, Nafas.

His phone operating system is Tavdroid, and its keyboard doesn't have any digits! He wants to share his score with Nafas via text, so he has no choice but to send this number using words. [Image] 

He ate coffee mix without water again, so right now he's really messed up and can't think.

Your task is to help him by telling him what to type.


-----Input-----

The first and only line of input contains an integer s (0 ≤ s ≤ 99), Tavas's score. 


-----Output-----

In the first and only line of output, print a single string consisting only from English lowercase letters and hyphens ('-'). Do not use spaces.


-----Examples-----
Input
6

Output
six

Input
99

Output
ninety-nine

Input
20

Output
twenty



-----Note-----

You can find all you need to know about English numerals in http://en.wikipedia.org/wiki/English_numerals .

Difficulty: interview

Starter code:

Solutions:
n = int(input())
if n == 0:
	print('zero')
elif n == 1:
	print('one')
elif n == 2:
	print('two')
elif n == 3:
	print('three')
elif n == 4:
	print('four')
elif n == 5:
	print('five')
elif n == 6:
	print('six')
elif n == 7:
	print('seven')
elif n == 8:
	print('eight')
elif n == 9:
	print('nine')
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')
else:
	if n // 10 == 2:
		res = 'twenty'
	elif n // 10 == 3:
		res = 'thirty'
	elif n // 10 == 4:
		res = 'forty'
	elif n // 10 == 5:
		res = 'fifty'
	elif n // 10 == 6:
		res = 'sixty'
	elif n // 10 == 7:
		res = 'seventy'
	elif n // 10 == 8:
		res = 'eighty'
	elif n // 10 == 9:
		res = 'ninety'

	if n % 10 == 1:
		res += '-one'
	elif n % 10 == 2:
		res += '-two'
	elif n % 10 == 3:
		res += '-three'
	elif n % 10 == 4:
		res += '-four'
	elif n % 10 == 5:
		res += '-five'
	elif n % 10 == 6:
		res += '-six'
	elif n % 10 == 7:
		res += '-seven'
	elif n % 10 == 8:
		res += '-eight'
	elif n % 10 == 9:
		res += '-nine'

	print(res)

a = {
	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 <= 20):
	print(a[n])
else:
	print(a[int(n/10)*10],end='')
	if(n%10 != 0):
		print('-',a[n%10],sep='')

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

inp = input()
n = int(inp)

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


if n < 20:
    print(single[n])
else:
    if n % 10 == 0:
        print(dec[n//10 - 2])
    else:
        print(dec[n//10 - 2] + '-' + single[int(n%10)])


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


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

p = [
    'A', 'B',
    'twenty', 'thirty', 'forty', 'fifty', 'sixty', 'seventy',
    'eighty', 'ninety'
]

n = int(input())

if n < len(l):
    print(l[n])
elif n % 10:
    print('%s-%s' % (p[int(n / 10)], l[n % 10]))
else:
    print(p[int(n / 10)])


n = int(input())
numbers = ['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(numbers[n])
    return
else:
    if n % 10 == 0:
        print(tens[n//10])
    else:
        print(tens[n//10] + '-' + numbers[n%10])

def main():
    n = int(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 < 20:
        print(a[n])
    elif n % 10:
        print('%s-%s' % (b[n // 10 - 2], a[n % 10]))
    else:
        print(b[n // 10 - 2])
def __starting_point():
    main()

__starting_point()

m = {
    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 m:

    print(m[n])

else:

    print(m[n // 10 * 10] + "-" + m[n % 10])


n=int(input())
s = ['zero', 'one', 'two', 'three', 'four', 'five', 'six', 'seven', 'eight', 'nine', 'ten']
s1 =['eleven', 'twelve', 'thirteen', 'fourteen', 'fifteen', 'sixteen', 'seventeen', 'eighteen', 'nineteen']
s2 =['twenty', 'thirty', 'forty', 'fifty', 'sixty', 'seventy', 'eighty', 'ninety']
if n<=10:
    print(s[n])
elif n<20:
    print(s1[n%10-1])
else:
    print(s2[n//10-2], end='')
    if n%10!=0:
        print('-', s[n%10], sep='', end='')

n = input()
string = """0   zero    10  ten     20 twenty 
1   one 11  eleven       
2   two 12  twelve
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 """

Set = string.split()
#print (Set)
numbers = dict(zip(Set[0::2], Set[1::2]))
if n in numbers:
    print (numbers[n])
else:
    n = int(n)
    print (numbers[str(n // 10 * 10)], '-', numbers[str(n % 10)], sep = '')

def digit(n2):
    if n2 == 1:
        print("-one")
    elif n2 == 2:
        print("-two")
    elif n2 == 3:
        print("-three")
    elif n2 == 4:
        print("-four")
    elif n2 == 5:
        print("-five")
    elif n2 == 6:
        print("-six")
    elif n2 == 7:
        print("-seven")
    elif n2 == 8:
        print("-eight")
    elif n2 == 9:
        print("-nine")
n = int(input())
n1 = n // 10
n2 = n % 10
if n1 == 0:
    if n2 == 0:
        print("zero")
    elif n2 == 1:
        print("one")
    elif n2 == 2:
        print("two")
    elif n2 == 3:
        print("three")
    elif n2 == 4:
        print("four")
    elif n2 == 5:
        print("five")
    elif n2 == 6:
        print("six")
    elif n2 == 7:
        print("seven")
    elif n2 == 8:
        print("eight")
    elif n2 == 9:
        print("nine")
elif n1 == 1:
    if n2 == 0:
        print("ten")
    elif n2 == 1:
        print("eleven")
    elif n2 == 2:
        print("twelve")
    elif n2 == 3:
        print("thirteen")
    elif n2 == 4:
        print("fourteen")
    elif n2 == 5:
        print("fifteen")
    elif n2 == 6:
        print("sixteen")
    elif n2 == 7:
        print("seventeen")
    elif n2 == 8:
        print("eighteen")
    elif n2 == 9:
        print("nineteen")
elif n1 == 2:
        print("twenty",end="")
        digit(n2)
elif n1 == 3:
        print("thirty",end="")
        digit(n2)
elif n1 == 4:
        print("forty",end="")
        digit(n2)
elif n1 == 5:
        print("fifty",end="")
        digit(n2)
elif n1 == 6:
        print("sixty",end="")
        digit(n2)
elif n1 == 7:
        print("seventy",end="")
        digit(n2)
elif n1 == 8:
        print("eighty",end="")
        digit(n2)
elif n1 == 9:
        print("ninety",end="")
        digit(n2)


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)
		s = num2words2[tens - 2]
		if below_ten != 0:
			s += '-'+num2words1[below_ten]
		return s

	

def main():
	t = int(input())
	print(number(t))



def __starting_point():
	main()    

__starting_point()

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

def word(s):
	if s in range(10):
		return digits[s]
	elif s in range(20):
		return a1[s - 10]
	elif s % 10 == 0:
		return decades[s // 10 - 1]
	else:
		return decades[s // 10 - 1] + '-' + digits[s % 10]


s = int(input())
print(word(s))





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

def text(score):
    if score <= 20:
        return s2t20[score]
    else:
        d10s, d1s = divmod(score, 10)
        if score % 10:
            return s2t10s[d10s] + '-' + s2t20[d1s]
        else:
            return s2t10s[d10s]

score = int(input())
print(text(score))

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

s = int(input())

def slovo1(x):
    if x == 0:
        return 'zero'
    if x == 1:
        return 'one'
    if x == 2:
        return 'two'
    if x == 3:
        return 'three'
    if x == 4:
        return 'four'
    if x == 5:
        return 'five'
    if x == 6:
        return 'six'
    if x == 7:
        return 'seven'
    if x == 8:
        return 'eight' 
    if x == 9:
        return 'nine'  
def slovo2(x):
    if x == 10:
        return 'ten'
    if x == 11:
        return 'eleven'
    if x == 12:
        return 'twelve'
    if x == 13:
        return 'thirteen'
    if x == 14:
        return 'fourteen'
    if x == 15:
        return 'fifteen'
    if x == 16:
        return 'sixteen'
    if x == 17:
        return 'seventeen'
    if x == 18:
        return 'eighteen' 
    if x == 19:
        return 'nineteen'  
    
def slovo3(x):
    if x == 20:
        return 'twenty'
    if x == 30:
        return 'thirty'
    if x == 40:
        return 'forty'
    if x == 50:
        return 'fifty'
    if x == 60:
        return 'sixty'
    if x == 70:
        return 'seventy'
    if x == 80:
        return 'eighty'
    if x == 90:
        return 'ninety'
    
    
if s < 10:
    print(slovo1(s))
elif s >=10 and s <20:
    print(slovo2(s))
else:
    if s%10 == 0:
        print(slovo3(s))
    else:
        k = str(slovo3((s//10)*10))+'-'+str(slovo1(s%10))
        print(k)
    
    


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) != 50:
        print('-', a[int(s[1])-1], sep = '')
elif int(s) >= 40 and int(s) < 50:
    print('forty', end = '')
    if int(s) != 40:
        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 = '')

ans = ['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', '']

n = int(input())

print(ans[n])















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

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



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

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='-')

num = int(input())
dec = num // 10
s = ''
low = ['zero', 'one' , 'two', 'three', 'four', 'five', 'six', 'seven','eight', 'nine', 'ten', 'eleven', 'twelve', 'thirteen', 'fourteen', 'fifteen', 'sixteen', 'seventeen', 'eighteen', 'nineteen']
high = ['__0', '__1', 'twenty','thirty','forty','fifty','sixty','seventy','eighty','ninety']
if dec > 1:
    s = high[dec]
    if num % 10 != 0:
        print(s + '-' + low[num % 10])
    else:
        print(s)
else:
    print(low[num])


import math
import functools

n = int(input())
dig = ["one", "two", "three", "four", "five", "six", "seven", "eight", "nine", "ten"]

if n == 0:
    print("zero");
    return

if n<=10:
    print((dig[n-1]));
    return


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")


ar = ["twenty", "thirty", "forty", "fifty", "sixty", "seventy", "eighty", "ninety"];

if n>=20:
    low = n%10
    high = n//10
    if low!=0:
        print(ar[high-2]+"-"+dig[low-1])
    else:
        print(ar[high-2])
    return


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