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 .

Source: codeforces | Difficulty: EASY
Tags: Implementation

Complete search


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


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


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)


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)


s = 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 s < 10:
	print(A[s])
elif s < 20:
	print(B[s - 10])
elif s % 10 == 0:
	print(C[s // 10])
else:
	print(C[s // 10] + '-' + A[s % 10])


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


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


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'}
ans = ''
digits = []
i = 1
while s >= 0:
	if s < 20 or s % 10 == 0:
		digits.append(s)
		break
	x = s % 10
	digits.append(x)
	digits.append(s - x)
	break
digits.reverse()
f = lambda i: d[i]
digits = list(map(f, digits))
print('-'.join(digits))


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': 'forty', '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)


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


def main():
	hash = {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'}
	n = int(input())
	if n <= 20 or n % 10 == 0:
		return hash[n]
	return hash[int(n / 10) * 10] + '-' + hash[n % 10]
print(main())


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(input())
print(a[n] if n < 20 else b[n // 10 - 2] + ('' if n % 10 == 0 else '-' + a[n % 10]))


lis1 = ['zero', 'one', 'two', 'three', 'four', 'five', 'six', 'seven', 'eight', 'nine']
list2 = ['ten', 'eleven', 'twelve', 'thirteen', 'fourteen', 'fifteen', 'sixteen', 'seventeen', 'eighteen', 'nineteen']
number = input()
y = int(number)
if len(number) == 1:
	print(lis1[y])
elif 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('forty')
	else:
		print(f'forty-{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])]}')


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


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)])
elif n[1] == '0':
	print(tens[int(n[0])])
elif n[0] == '1':
	print(cooked[int(n[1])])
else:
	print(tens[int(n[0])] + '-' + units[int(n[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())
print(c[n // 10] + ('-' + a[n % 10] if n % 10 else '') if n > 19 else b[n % 10] if n > 9 else a[n])


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', 'seventeen', '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])


digit = 'zero one two three four five six seven eight nine ten'.split()
teens = 'ten eleven twelve thirteen fourteen fifteen sixteen seventeen eighteen nineteen'.split()
decade = 'a a twenty thirty forty fifty sixty seventy eighty ninety'.split()
n = int(input())
if n <= 10:
	print(digit[n])
elif n < 20:
	print(teens[n - 10])
elif n % 10 == 0:
	print(decade[n // 10])
else:
	print(decade[n // 10] + '-' + digit[n % 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])


q = ['zero', 'one', 'two', 'three', 'four', 'five', 'six', 'seven', 'eight', 'nine', 'ten', 'eleven', 'twelve', 'thirteen', 'fourteen', 'fifteen', 'sixteen', 'seventeen', 'eighteen', 'nineteen']
r = ['twenty', 'thirty', 'forty', 'fifty', 'sixty', 'seventy', 'eighty', 'ninety']
s = int(input())
if s <= 19:
	print(q[s])
elif s % 10 == 0:
	print(r[s // 10 - 2])
else:
	print('%s-%s' % (r[s // 10 - 2], q[s % 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')
	elif n == 18:
		number = number.replace('tt', 't')
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)


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


zero2nine = ['zero', 'one', 'two', 'three', 'four', 'five', 'six', 'seven', 'eight', 'nine']
ten2nineteen = ['ten', 'eleven', 'twelve', 'thirteen', 'fourteen', 'fifteen', 'sixteen', 'seventeen', 'eighteen', 'nineteen']
zero2ninety = ['zero', 'ten', 'twenty', 'thirty', 'forty', 'fifty', 'sixty', 'seventy', 'eighty', 'ninety']
number = int(input())
if number % 10 == 0:
	print(zero2ninety[number // 10])
elif number < 10:
	print(zero2nine[number])
elif number < 20:
	print(ten2nineteen[number - 10])
else:
	t = int(str(number)[0])
	o = int(str(number)[1])
	print('%s-%s' % (zero2ninety[t], zero2nine[o]))


num = int(input())
series1 = ['zero', 'one', 'two', 'three', 'four', 'five', 'six', 'seven', 'eight', 'nine', 'ten']
series2 = ['eleven', 'twelve', 'thirteen', 'fourteen', 'fifteen', 'sixteen', 'seventeen', 'eighteen', 'nineteen']
series3 = ['twenty', 'thirty', 'forty', 'fifty', 'sixty', 'seventy', 'eighty', 'ninety']
if num <= 10:
	print(series1[num])
elif num > 10 and num < 20:
	print(series2[num % 10 - 1])
elif num % 10 == 0:
	print(series3[int(num / 10) - 2])
else:
	print(f'{series3[int(num / 10) - 2]}-{series1[num % 10]}')


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])
elif n % 10 == 0:
	print(rra[n // 10])
else:
	print(rra[n // 10], end='-')
	print(arr[n % 10])


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


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


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'}
s = input()
if s in d:
	print(d[s])
else:
	print(d[s[:1] + '0'] + '-' + d[s[1:]])


import math, string, itertools, fractions, heapq, collections, re, array, bisect, sys, random, time, copy, functools
sys.setrecursionlimit(10 ** 7)
inf = 10 ** 20
eps = 1.0 / 10 ** 10
mod = 10 ** 9 + 7
dd = [(-1, 0), (0, 1), (1, 0), (0, -1)]
ddn = [(-1, 0), (-1, 1), (0, 1), (1, 1), (1, 0), (1, -1), (0, -1), (-1, -1)]

def LI():
	return [int(x) for x in sys.stdin.readline().split()]

def LI_():
	return [int(x) - 1 for x in sys.stdin.readline().split()]

def LF():
	return [float(x) for x in sys.stdin.readline().split()]

def LS():
	return sys.stdin.readline().split()

def I():
	return int(sys.stdin.readline())

def F():
	return float(sys.stdin.readline())

def S():
	return input()

def pf(s):
	return print(s, flush=True)

def main():
	n = I()
	a = '\n    zero\n    one\n    two\n    three\n    four\n    five\n    six\n    seven\n    eight\n    nine\n    ten\n    eleven\n    twelve\n    thirteen\n    fourteen\n    fifteen\n    sixteen\n    seventeen\n    eighteen\n    nineteen\n    '.split()
	b = '\n    twenty\n    thirty\n    forty\n    fifty\n    sixty\n    seventy\n    eighty\n    ninety\n    '.split()
	if n < 20:
		return a[n]
	if n % 10 == 0:
		return b[n // 10 - 2]
	return '{}-{}'.format(b[n // 10 - 2], a[n % 10])
print(main())


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


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


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


__author__ = 'artyom'

def main():
	z = {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'}
	n = read()
	if n in z:
		return z[n]
	(t, r) = (str(z[10 * (n // 10)]), n % 10)
	if r > 0:
		t += '-' + str(z[r])
	return t

def read(mode=2):
	inputs = input().strip()
	if mode == 0:
		return inputs
	if mode == 1:
		return inputs.split()
	if mode == 2:
		return int(inputs)
	if mode == 3:
		return list(map(int, inputs.split()))

def write(s='\n'):
	if s is None:
		s = ''
	if isinstance(s, list):
		s = ' '.join(map(str, s))
	s = str(s)
	print(s, end='')
write(main())


def dec(x):
	arr = ['placehold', 'ph', 'twenty', 'thirty', 'forty', 'fifty', 'sixty', 'seventy', 'eighty', 'ninety']
	return arr[x // 10]

def uni(x):
	arr = ['one', 'two', 'three', 'four', 'five', 'six', 'seven', 'eight', 'nine']
	x = x % 10
	x = x - 1
	return arr[x]

def ans(x):
	if x == 0:
		return 'zero'
	if x < 10:
		return uni(x)
	if x == 10:
		return 'ten'
	if x == 11:
		return 'eleven'
	if x == 12:
		return 'twelve'
	if x == 13:
		return 'thirteen'
	if x == 15:
		return 'fifteen'
	if x == 18:
		return 'eighteen'
	if x < 20:
		return uni(x) + 'teen'
	if x % 10 == 0:
		return dec(x)
	return dec(x) + '-' + uni(x)
a = eval(input())
print(ans(a))


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


def main(n):
	index = {'1': 'one', '2': 'two', '3': 'three', '4': 'four', '5': 'five', '6': 'six', '7': 'seven', '8': 'eight', '9': 'nine', '0': 'zero', '10': 'ten', '11': 'eleven', '12': 'twelve', '13': 'thirteen'}
	if int(n) < 14:
		print(index[n])
	elif n[0] == '1':
		if n[1] == '5':
			print('fifteen')
		elif n[1] == '8':
			print('eighteen')
		else:
			print(index[n[1]] + 'teen')
	else:
		if n[1] == '0':
			if n[0] == '8':
				number = 'eighty'
			elif n[0] == '5':
				number = 'fifty'
			elif n[0] == '4':
				number = 'forty'
			elif n[0] == '2':
				number = 'twenty'
			elif n[0] == '3':
				number = 'thirty'
			else:
				number = index[n[0]] + 'ty'
		else:
			number = index[n[0]] + 'ty' + '-' + index[n[1]]
			if n[0] == '8':
				number = 'eighty' + '-' + index[n[1]]
			if n[0] == '5':
				number = 'fifty' + '-' + index[n[1]]
			if n[0] == '4':
				number = 'forty' + '-' + index[n[1]]
			if n[0] == '2':
				number = 'twenty' + '-' + index[n[1]]
			if n[0] == '3':
				number = 'thirty' + '-' + index[n[1]]
		print(number)
n = input()
main(n)


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


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


s = int(input())
a = ['zero', 'one', 'two', 'three', 'four', 'five', 'six', 'seven', 'eight', 'nine', 'ten']
b = ['eleven', 'twelve', 'thirteen', 'fourteen', 'fifteen', 'sixteen', 'seventeen', 'eighteen', 'nineteen', 'twenty']
c = ['thirty', 'forty', 'fifty', 'sixty', 'seventy', 'eighty', 'ninety']
if s <= 10:
	print(a[s])
elif s > 10 and s <= 20:
	print(b[s - 11])
elif s > 20 and s < 30:
	print('twenty-' + a[s - 20])
elif s > 30 and s < 40:
	print('thirty-' + a[s - 30])
elif s > 40 and s < 50:
	print('forty-' + a[s - 40])
elif s > 50 and s < 60:
	print('fifty-' + a[s - 50])
elif s > 60 and s < 70:
	print('sixty-' + a[s - 60])
elif s > 70 and s < 80:
	print('seventy-' + a[s - 70])
elif s > 80 and s < 90:
	print('eighty-' + a[s - 80])
elif s > 90 and s < 110:
	print('ninety-' + a[s - 90])
elif s == 30:
	print(c[0])
elif s == 40:
	print(c[1])
elif s == 50:
	print(c[2])
elif s == 60:
	print(c[3])
elif s == 70:
	print(c[4])
elif s == 80:
	print(c[5])
elif s == 90:
	print(c[6])


user_input = int(input())
strinput = str(user_input)
length = len(strinput)
number = {'1': 'one', '2': 'two', '3': 'three', '4': 'four', '5': 'five', '6': 'six', '7': 'seven', '8': 'eight', '9': 'nine', '0': 'zero'}
twnmber = {'10': 'ten', '20': 'twenty', '30': 'thirty', '40': 'forty', '50': 'fifty', '60': 'sixty', '70': 'seventy', '80': 'eighty', '90': 'ninety'}
aften = {'1': 'eleven', '2': 'twelve', '3': 'thirteen', '4': 'fourteen', '5': 'fifteen', '6': 'sixteen', '7': 'seventeen', '8': 'eighteen', '9': 'nineteen'}
text = ''
if length == 1:
	for x in strinput:
		if x in number.keys():
			text = text + number[x]
elif length == 2:
	if strinput in twnmber.keys():
		text = text + twnmber[strinput]
	elif strinput[0] == '1':
		text = text + aften[strinput[1]]
	else:
		text = twnmber[strinput[0] + '0'] + '-' + number[strinput[1]]
print(text)


numerals = {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 numerals:
	print(numerals[n])
else:
	previous = 'twenty'
	for key in numerals:
		if n > key:
			previous = numerals[key]
		if n < key:
			break
	ans = previous + '-' + numerals[int(str(n)[-1])]
	print(ans)


n = input()
l = ['zero', 'one', 'two', 'three', 'four', 'five', 'six', 'seven', 'eight', 'nine']
m = ['ten', 'eleven', 'twelve', 'thirteen', 'fourteen', 'fifteen', 'sixteen', 'seventeen', 'eighteen', 'nineteen']
o = ['twenty', 'thirty', 'forty', 'fifty', 'sixty', 'seventy', 'eighty', 'ninety']
if int(n) > 19 and n[1] != '0':
	print(o[int(n[0]) - 2] + '-' + l[int(n[1])])
elif int(n) > 19 and n[1] == '0':
	print(o[int(n[0]) - 2])
elif 19 >= int(n) > 9:
	print(m[int(n) - 10])
elif int(n) <= 9:
	print(l[int(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]))


def ones(n):
	d = {0: 'zero', 1: 'one', 2: 'two', 3: 'three', 4: 'four', 5: 'five', 6: 'six', 7: 'seven', 8: 'eight', 9: 'nine'}
	return d[n]

def teens(n):
	d = {10: 'ten', 11: 'eleven', 12: 'twelve', 13: 'thirteen', 14: 'fourteen', 15: 'fifteen', 16: 'sixteen', 17: 'seventeen', 18: 'eighteen', 19: 'nineteen'}
	return d[n]

def solve(n):
	d = {2: 'twenty', 3: 'thirty', 4: 'forty', 5: 'fifty', 6: 'sixty', 7: 'seventy', 8: 'eighty', 9: 'ninety'}
	if n <= 9:
		return ones(n)
	elif n <= 19:
		return teens(n)
	else:
		tens_digit = n // 10
		ones_digit = n % 10
		if ones_digit:
			return d[tens_digit] + '-' + ones(ones_digit)
		else:
			return d[tens_digit]
score = int(input())
print(solve(score))


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)


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 l == 0 or number == 0:
		return ''
	if 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
		s = space if number % k > 0 else ''
		return FIRST_TEN[a - 1] + space + HUNDRED + s + checkio(number % k)
if s == 0:
	result = 'zero'
else:
	result = checkio(s)
print(result)


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


n = int(input())
w = str(n)
ones = 'zero,one,two,three,four,five,six,seven,eight,nine'.split(',')
dou_ones = 'ten,eleven,twelve,thirteen,fourteen,fifteen,sixteen,seventeen,eighteen,nineteen'.split(',')
tens = 'ten,twenty,thirty,forty,fifty,sixty,seventy,eighty,ninety'.split(',')
text = ''
if n < 10:
	text = ones[n]
elif n >= 10 and n < 20:
	text = dou_ones[int(w[1])]
elif n % 10 == 0:
	text = tens[int(w[0]) - 1]
else:
	text = tens[int(w[0]) - 1] + '-' + ones[int(w[1])]
print(text)


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


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


def numToWords(num, join=True):
	units = ['', 'one', 'two', 'three', 'four', 'five', 'six', 'seven', 'eight', 'nine']
	teens = ['', 'eleven', 'twelve', 'thirteen', 'fourteen', 'fifteen', 'sixteen', 'seventeen', 'eighteen', 'nineteen']
	tens = ['', 'ten', 'twenty', 'thirty', 'forty', 'fifty', 'sixty', 'seventy', 'eighty', 'ninety']
	thousands = ['', 'thousand', 'million', 'billion', 'trillion', 'quadrillion', 'quintillion', 'sextillion', 'septillion', 'octillion', 'nonillion', 'decillion', 'undecillion', 'duodecillion', 'tredecillion', 'quattuordecillion', 'sexdecillion', 'septendecillion', 'octodecillion', 'novemdecillion', 'vigintillion']
	words = []
	if num == 0:
		words.append('zero')
	else:
		numStr = '%d' % num
		numStrLen = len(numStr)
		groups = int((numStrLen + 2) / 3)
		numStr = numStr.zfill(groups * 3)
		for i in range(0, groups * 3, 3):
			(h, t, u) = (int(numStr[i]), int(numStr[i + 1]), int(numStr[i + 2]))
			g = groups - (i / 3 + 1)
			if h >= 1:
				words.append(units[h])
				words.append('hundred')
			if t > 1:
				words.append(tens[t])
				if u >= 1:
					words.append(units[u])
			elif t == 1:
				if u >= 1:
					words.append(teens[u])
				else:
					words.append(tens[t])
			elif u >= 1:
				words.append(units[u])
			if g >= 1 and h + t + u > 0:
				words.append(thousands[g] + ',')
	if join:
		return '-'.join(words)
	return words

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


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


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


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 and n[0] != '0':
	print(l1[int(n) - 1])
	exit()
if len(n) == 2 and n[0] == '1':
	print(l2[int(n) - int(n) // 10 * 10])
	exit()
if len(n) == 2 and 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='')


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())])


def main():
	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 < 20:
		print(numbers[n])
	elif not int(n) % 10:
		print(tens[n // 10])
	else:
		print('{}-{}'.format(tens[n // 10], numbers[n % 10]))
main()


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


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


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


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


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', 21: 'twenty-one', 25: 'twenty-five', 30: 'thirty', 32: 'thirty-two', 40: 'forty', 50: 'fifty', 58: 'fifty-eight', 60: 'sixty', 64: 'sixty-four', 70: 'seventy', 79: 'seventy-nine', 80: 'eighty', 83: 'eighty-three', 90: 'ninety', 99: 'ninety-nine'}

def main(x):
	if x in m:
		return m[x]
	else:
		s = str(x)
		return '{}-{}'.format(m[int(s[0]) * 10], m[int(s[1])])
print(main(int(input())))


n = int(input())
n1 = n % 10
n2 = int(n / 10)
if n == 10:
	print('ten')
elif n == 11:
	print('eleven')
elif n == 12:
	print('twelve')
elif n == 14:
	print('fourteen')
else:
	num1 = {0: 'zero', 1: 'one', 2: 'two', 3: 'three', 4: 'four', 5: 'five', 6: 'six', 7: 'seven', 8: 'eight', 9: 'nine'}
	num2 = {2: 'twen', 3: 'thir', 4: 'for', 5: 'fif', 6: 'six', 7: 'seven', 8: 'eigh', 9: 'nine'}
	if n < 10:
		num_1 = num1[n]
	elif n2 == 1:
		num_1 = num2[n1] + 'teen'
	elif not n1:
		num_1 = num2[n2] + 'ty'
	else:
		num_1 = num2[n2] + 'ty-' + num1[n1]
	print(num_1)


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 = input()
result = ''
marker = False

def ones_place(d):
	if d == '1':
		return 'one'
	if d == '2':
		return 'two'
	if d == '3':
		return 'three'
	if d == '4':
		return 'four'
	if d == '5':
		return 'five'
	if d == '6':
		return 'six'
	if d == '7':
		return 'seven'
	if d == '8':
		return 'eight'
	if d == '9':
		return 'nine'
if len(n) > 1:
	if n[0] == '2':
		result += 'twenty'
		marker = True
	if n[0] == '3':
		result += 'thirty'
		marker = True
	if n[0] == '4':
		result += 'forty'
		marker = True
	if n[0] == '5':
		result += 'fifty'
		marker = True
	if n[0] == '6':
		result += 'sixty'
		marker = True
	if n[0] == '7':
		result += 'seventy'
		marker = True
	if n[0] == '8':
		result += 'eighty'
		marker = True
	if n[0] == '9':
		result += 'ninety'
		marker = True
elif n == '0':
	result = 'zero'
else:
	result = ones_place(n)
if marker:
	if n[1] != '0':
		result += '-' + ones_place(n[1])
elif n == '10':
	result = 'ten'
elif int(n) > 10:
	if n[1] == '1':
		result = 'eleven'
	if n[1] == '2':
		result = 'twelve'
	if n[1] == '3':
		result = 'thirteen'
	if n[1] == '4':
		result = 'fourteen'
	if n[1] == '5':
		result = 'fifteen'
	if n[1] == '6':
		result = 'sixteen'
	if n[1] == '7':
		result = 'seventeen'
	if n[1] == '8':
		result = 'eighteen'
	if n[1] == '9':
		result = 'nineteen'
print(result)


def main():
	s = input()
	output_line = ''
	if len(s) == 1:
		output_line += ones_check(int(s))
		if output_line == '':
			print('zero')
		else:
			print(output_line)
	else:
		tens = int(s[0])
		ones = int(s[1])
		output_line += tens_check(tens, ones)
		if 'teen' in output_line:
			print(output_line)
		elif output_line == 'twelve':
			print(output_line)
		elif output_line == 'ten':
			print(output_line)
		elif output_line == 'eleven':
			print(output_line)
		else:
			output_line += ones_check(ones)
			output_line = output_line.rstrip('- ')
			print(output_line)

def tens_check(tens, ones):
	if tens == 1:
		if ones == 2:
			return 'twelve'
		elif ones == 3:
			return 'thirteen'
		elif ones == 0:
			return 'ten'
		elif ones == 1:
			return 'eleven'
		elif ones == 8:
			return 'eighteen'
		elif ones == 5:
			return 'fifteen'
		else:
			return ones_check(ones) + 'teen'
	elif tens == 2:
		return 'twenty-'
	elif tens == 3:
		return 'thirty-'
	elif tens == 4:
		return 'forty-'
	elif tens == 5:
		return 'fifty-'
	elif tens == 6:
		return 'sixty-'
	elif tens == 7:
		return 'seventy-'
	elif tens == 8:
		return 'eighty-'
	elif tens == 9:
		return 'ninety-'

def ones_check(ones):
	if ones == 0:
		return ''
	elif ones == 1:
		return 'one'
	elif ones == 2:
		return 'two'
	elif ones == 3:
		return 'three'
	elif ones == 4:
		return 'four'
	elif ones == 5:
		return 'five'
	elif ones == 6:
		return 'six'
	elif ones == 7:
		return 'seven'
	elif ones == 8:
		return 'eight'
	elif ones == 9:
		return 'nine'
main()


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


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


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


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

def func(s):
	global li, l, lis
	if len(s) == 1:
		print(li[int(s)])
	elif s[0] == '1':
		print(l[int(s[1])])
	elif s[1] == '0':
		print(lis[int(s[0])])
	else:
		print(lis[int(s[0])] + '-' + li[int(s[1])])
func(input())


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


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)])
elif 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])])


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', 'eight', '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)


k = int(input())
ones = k % 10
tens = int(k / 10)
_first = {1: 'ten', 2: 'twenty', 3: 'thirty', 4: 'forty', 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 0 <= k <= 99:
	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)


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 f == 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])


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]])
	elif l[1] == 0:
		print(f[1])
	else:
		print(t[l[1]])
else:
	print(s[l[0]])


k = ['one', 'two', 'three', 'four', 'five', 'six', 'seven', 'eight', 'nine']
p = ['one', 'two', 'three', 'four', 'five', 'six', 'seven', 'eight', 'nine', 'ten', 'eleven', 'twelve', 'thirteen', 'fourteen', 'fifteen', 'sixteen', 'seventeen', 'eighteen', 'nineteen']
r = ['twenty', 'thirty', 'forty', 'fifty', 'sixty', 'seventy', 'eighty', 'ninety']
for s in r:
	p.append(s)
	for q in k:
		palav = s + str('-') + q
		p.append(palav)
num = int(input())
if num != 0:
	print(p[num - 1])
else:
	print('zero')


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)


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


s = int(input())
r = ['zero', 'one', 'two', 'three', 'four', 'five', 'six', 'seven', 'eight', 'nine', 'ten', 'eleven', 'twelve', 'thirteen', 'fourteen', 'fifteen', 'sixteen', 'seventeen', 'eighteen', 'nineteen', 'twenty']
r += ['twenty-' + r[i] for i in range(1, 10)]
r += ['thirty']
r += ['thirty-' + r[i] for i in range(1, 10)]
r += ['forty']
r += ['forty-' + r[i] for i in range(1, 10)]
r += ['fifty']
r += ['fifty-' + r[i] for i in range(1, 10)]
r += ['sixty']
r += ['sixty-' + r[i] for i in range(1, 10)]
r += ['seventy']
r += ['seventy-' + r[i] for i in range(1, 10)]
r += ['eighty']
r += ['eighty-' + r[i] for i in range(1, 10)]
r += ['ninety']
r += ['ninety-' + r[i] for i in range(1, 10)]
print('zero' if s == 0 else r[s])


from math import ceil, radians, cos, sin, atan, degrees
from sys import stdin, stdout

def solve(x):
	d1 = ['zero', 'one', 'two', 'three', 'four', 'five', 'six', 'seven', 'eight', 'nine', 'ten', 'eleven', 'twelve', 'thirteen', 'fourteen', 'fifteen', 'sixteen', 'seventeen', 'eighteen', 'nineteen']
	d2 = ['twenty', 'thirty', 'forty', 'fifty', 'sixty', 'seventy', 'eighty', 'ninety']
	if x <= 19:
		return d1[x]
	else:
		return d2[x // 10 - 2] + (' ' if not x % 10 else '-' + d1[x % 10])

def main():
	n = int(input())
	print(solve(n))
main()


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


n = int(input())
array1 = ['zero', 'one', 'two', 'three', 'four', 'five', 'six', 'seven', 'eight', 'nine']
array2 = ['eleven', 'twelve', 'thirteen', 'fourteen', 'fifteen', 'sixteen', 'seventeen', 'eighteen', 'nineteen']
array3 = ['ten', 'twenty', 'thirty', 'forty', 'fifty', 'sixty', 'seventy', 'eighty', 'ninety']
if n < 10:
	print(array1[n])
else:
	if n != 0 and str(n)[1] == '0':
		print(array3[n // 10 - 1])
	elif n > 20 and str(n)[1] != 0:
		print(array3[int(str(n)[0]) - 1] + '-' + array1[int(str(n)[1])])
	if n > 10 and n < 20:
		print(array2[n - 11])


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')
elif d2 == 0:
	print(a1[d1])
else:
	print(a1[d1], a2[d2], sep='-')


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


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', 'eighteen', '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 = 'forty'
	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])


import math

def need_to_name_it(num):
	abc = {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'}
	if num not in abc.keys():
		s = abc[n // 10 * 10] + '-' + abc[n % 10]
	else:
		s = abc[n]
	return s

def get_int():
	return map(int, input().split())
n = int(input())
print(need_to_name_it(n))


a = int(input())

def handleTens(i):
	j = int(i / 10)
	if i == 10:
		print('ten')
	if i == 11:
		print('eleven')
	if i == 12:
		print('twelve')
	if i == 13:
		print('thirteen')
	if i == 14:
		print('fourteen')
	if i == 15:
		print('fifteen')
	if i == 16:
		print('sixteen')
	if i == 17:
		print('seventeen')
	if i == 18:
		print('eighteen')
	if i == 19:
		print('nineteen')
	if j == 0:
		handleOnes(i)
	if j == 2:
		print('twenty', end='')
		handleOnes(i)
	if j == 3:
		print('thirty', end='')
		handleOnes(i)
	if j == 4:
		print('forty', end='')
		handleOnes(i)
	if j == 5:
		print('fifty', end='')
		handleOnes(i)
	if j == 6:
		print('sixty', end='')
		handleOnes(i)
	if j == 7:
		print('seventy', end='')
		handleOnes(i)
	if j == 8:
		print('eighty', end='')
		handleOnes(i)
	if j == 9:
		print('ninety', end='')
		handleOnes(i)

def handleOnes(i):
	if i == 0:
		print('zero')
	if i >= 10 and i % 10 != 0:
		print('-', end='')
	i %= 10
	if i == 1:
		print('one')
	elif i == 2:
		print('two')
	elif i == 3:
		print('three')
	elif i == 4:
		print('four')
	elif i == 5:
		print('five')
	elif i == 6:
		print('six')
	elif i == 7:
		print('seven')
	elif i == 8:
		print('eight')
	elif i == 9:
		print('nine')
handleTens(a)


first = ['zero', 'one', 'two', 'three', 'four', 'five', 'six', 'seven', 'eight', 'nine']
second = ['eleven', 'twelve', 'thirteen', 'fourteen', 'fifteen', 'sixteen', 'seventeen', 'eighteen', 'nineteen']
third = ['ten', 'twenty', 'thirty', 'forty', 'fifty', 'sixty', 'seventy', 'eighty', 'ninety']
num = int(input())
if num == 100:
	print('one hundred')
elif num % 10 == 0 and num != 0:
	print(third[num // 10 - 1])
elif num > 19:
	num_str = str(num)
	de = int(num_str[0])
	eg = int(num_str[1])
	print(third[de - 1] + '-' + first[eg])
else:
	if num % 100 >= 11 <= 19:
		print(second[num - 11])
	if num // 10 == 0:
		print(first[num])


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))
elif s % 10 == 0:
	print(slovo3(s))
else:
	k = str(slovo3(s // 10 * 10)) + '-' + str(slovo1(s % 10))
	print(k)


n = input()
A = []
x = int(n)
if x > 10:
	for i in n:
		A.append(i)
	a = A[0]
	b = A[1]
c = ''
d = ''
if n == '1':
	print('one')
elif n == '0':
	print('zero')
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')
elif n == '20':
	print('twenty')
elif n == '30':
	print('thirty')
elif n == '40':
	print('forty')
elif n == '50':
	print('fifty')
elif n == '60':
	print('sixty')
elif n == '70':
	print('seventy')
elif n == '80':
	print('eighty')
elif n == '90':
	print('ninety')
else:
	if A[0] == '2':
		c = 'twenty'
	elif A[0] == '3':
		c = 'thirty'
	elif A[0] == '4':
		c = 'forty'
	elif A[0] == '5':
		c = 'fifty'
	elif A[0] == '6':
		c = 'sixty'
	elif A[0] == '7':
		c = 'seventy'
	elif A[0] == '8':
		c = 'eighty'
	elif A[0] == '9':
		c = 'ninety'
	if A[1] == '1':
		d = 'one'
	elif A[1] == '2':
		d = 'two'
	elif A[1] == '3':
		d = 'three'
	elif A[1] == '4':
		d = 'four'
	elif A[1] == '5':
		d = 'five'
	elif A[1] == '6':
		d = 'six'
	elif A[1] == '7':
		d = 'seven'
	elif A[1] == '8':
		d = 'eight'
	elif A[1] == '9':
		d = 'nine'
	print(c + '-' + d)


i = int(input())
a = ['zero', 'one', 'two', 'three', 'four', 'five', 'six', 'seven', 'eight', 'nine', 'ten', 'eleven', 'twelve', 'thirteen', 'fourteen', 'fifteen', 'sixteen', 'seventeen', 'eighteen', 'nineteen']
aa = ['twenty', 'thirty', 'forty', 'fifty', 'sixty', 'seventy', 'eighty', 'ninety']
if i in range(0, 20):
	print(a[i])
elif i % 10 == 0:
	print(aa[int(str(i)[0]) - 2])
else:
	print(str(aa[int(str(i)[0]) - 2]) + '-' + str(a[int(str(i)[1])]))


n = int(input())
sanlar = ['zero', 'one', 'two', 'three', 'four', 'five', 'six', 'seven', 'eight', 'nine']
if n < 10:
	print(sanlar[n])
elif n % 10 == 0:
	if n == 10:
		print('ten')
	elif n == 20:
		print('twenty')
	elif n == 30:
		print('thirty')
	elif n == 40:
		print('forty')
	elif n == 50:
		print('fifty')
	elif n == 80:
		print('eighty')
	else:
		print(sanlar[int(n / 10)], 'ty', sep='')
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 int(n / 10) == 2:
	print('twenty-', sanlar[n % 10], sep='')
elif int(n / 10) == 5:
	print('fifty-', sanlar[n % 10], sep='')
elif int(n / 10) == 8:
	print('eighty-', sanlar[n % 10], sep='')
elif int(n / 10) == 4:
	print('forty-', sanlar[n % 10], sep='')
elif int(n / 10) == 3:
	print('thirty-', sanlar[n % 10], sep='')
else:
	print(sanlar[int(n / 10)], 'ty-', sanlar[n % 10], sep='')


n = int(input())

def solve(n):
	teens = {10: 'ten', 11: 'eleven', 12: 'twelve', 13: 'thirteen', 14: 'fourteen', 15: 'fifteen', 16: 'sixteen', 17: 'seventeen', 18: 'eighteen', 19: 'nineteen', 20: 'twenty'}
	dec = {2: 'twenty', 3: 'thirty', 4: 'forty', 5: 'fifty', 6: 'sixty', 7: 'seventy', 8: 'eighty', 9: 'ninety'}
	digits = {0: 'zero', 1: 'one', 2: 'two', 3: 'three', 4: 'four', 5: 'five', 6: 'six', 7: 'seven', 8: 'eight', 9: 'nine'}
	if 9 < n < 21:
		return teens[n]
	elif n <= 9:
		return digits[n]
	elif n > 20:
		str_n = str(n)
		if str_n[1] != '0':
			ans = dec[int(str_n[0])] + '-' + digits[int(str_n[1])]
		else:
			ans = dec[int(str_n[0])]
		return ans
print(solve(n))


n = int(input())
d = ['zero', 'one', 'two', 'three', 'four', 'five', 'six', 'seven', 'eight', 'nine', 'ten']
num = ['twenty', 'thirty', 'forty', 'fifty', 'sixty', 'seventy', 'eighty', 'ninety']
nm = ['eleven', 'twelve', 'thirteen', 'fourteen', 'fifteen', 'sixteen', 'seventeen', 'eighteen', 'nineteen']
if len(str(n)) == 1 or n == 10:
	print(d[n])
elif len(str(n)) == 2 and n != 10:
	if n // 10 == 1:
		print(nm[n % 10 - 1])
	elif n % 10 != 0:
		print(num[n // 10 - 2] + '-' + d[n % 10])
	elif n % 10 == 0:
		print(num[n // 10 - 2])


u = ['', 'one', 'two', 'three', 'four', 'five', 'six', 'seven', 'eight', 'nine', 'ten', 'eleven', 'twelve', 'thirteen', 'fourteen', 'fifteen', 'sixteen', 'seventeen', 'eighteen', 'nineteen']
v = ['twenty', 'thirty', 'forty', '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('-'))


u = ['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']
s = int(input())
if s < 20:
	print(u[s])
else:
	l = s // 10
	r = s % 10
	print(d[l] + ('-' + u[r] if r > 0 else ''))


n = int(input())
l = ['zero', 'one', 'two', 'three', 'four', 'five', 'six', 'seven', 'eight', 'nine']
q = ['hh', 'ten', 'twenty', 'thirty', 'forty', 'fifty', 'sixty', 'seventy', 'eighty', 'ninety']
T = n // 10
if T == 0:
	print(l[n])
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:
	C = q[T]
	V = n % 10
	print(C, end='')
	if V != 0:
		print('-', end='')
		if V != 0:
			print(l[V])


def get_ans(n):
	if n == 0:
		return 'zero'
	elif 1 <= n < 10:
		return edin[n]
	elif n == 10:
		return 'ten'
	elif n == 11:
		return 'eleven'
	elif n == 12:
		return 'twelve'
	elif n == 14:
		return 'fourteen'
	elif n == 18:
		return 'eighteen'
	elif 13 <= n < 20:
		return '%steen' % des[n % 10]
	else:
		return '%sty%s' % (des[n // 10], '-' + edin[n % 10] if n % 10 != 0 else '')
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: 'for', 5: 'fif', 6: 'six', 7: 'seven', 8: 'eigh', 9: 'nine'}
n = int(input())
print(get_ans(n))


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

def propis(n):
	if n <= 18:
		return ones[n]
	elif 18 < n < 20:
		return str(ones[n % 10]) + 'teen'
	elif n >= 20:
		(m, n, x) = (n % 10, n // 10, n // 10 % 10)
		if m != 0:
			return str(tenth[x - 2]) + '-' + str(ones[m])
		return tenth[x - 2]
print(propis(int(input())))


my_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'}
tens = ['twenty', 'thirty', 'forty', 'fifty', 'sixty', 'seventy', 'eighty', 'ninety']
ones = ['', 'one', 'two', 'three', 'four', 'five', 'six', 'seven', 'eight', 'nine']

def fun(num, my_dict):
	if num >= 0 and num <= 19:
		return my_dict[num]
	else:
		one = ones[num % 10]
		ten = tens[num // 10 % 10 - 2]
		if num % 10 == 0:
			return ten
		return ten + '-' + one
num = int(input())
print(fun(num, my_dict))


_SMALL = {'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 get_num(num):
	return _SMALL.get(num, '')

def norm_num(num):
	n = int(num)
	return (n, str(n))

def small2eng(num):
	(n, num) = norm_num(num)
	if n > 20 and n != n // 10 * 10:
		tens = get_num(num[0] + '0')
		ones = get_num(num[1])
		ten = tens + '-' + ones
	else:
		ten = get_num(num)
	return ten
nm = input()
print(small2eng(nm))


def N(x):
	if x == 0:
		return ''
	elif x == 1:
		return 'One'
	elif x == 2:
		return 'Two'
	elif x == 3:
		return 'Three'
	elif x == 4:
		return 'Four'
	elif x == 5:
		return 'Five'
	elif x == 6:
		return 'Six'
	elif x == 7:
		return 'Seven'
	elif x == 8:
		return 'Eight'
	elif x == 9:
		return 'Nine'
	elif x == 10:
		return 'Ten'
	elif x == 11:
		return 'Eleven'
	elif x == 12:
		return 'Twelve'
	elif x == 13:
		return 'Thirteen'
	elif x == 14:
		return 'Fourteen'
	elif x == 15:
		return 'Fifteen'
	elif x == 18:
		return 'Eighteen'
	elif 16 <= x <= 19:
		return N(x - 10) + 'teen'
	elif x == 20:
		return 'Twenty'
	elif 21 <= x <= 29:
		return 'Twenty-' + N(x - 20)
	elif x == 30:
		return 'Thirty'
	elif x == 40:
		return 'Forty'
	elif x == 50:
		return 'Fifty'
	elif x == 80:
		return 'Eighty'
	elif x < 100 and x % 10 == 0:
		return N(x / 10) + 'ty'
	elif x < 100:
		return N(x // 10 * 10) + '-' + N(x % 10)
	elif x < 1000:
		return N(x // 100) + ' Hundred ' + N(x % 100)
	elif x < 10 ** 6:
		return N(x // 1000) + ' Thousand ' + N(x % 1000)
	elif x < 10 ** 9:
		return N(x // 1000000) + ' Million ' + N(x % 1000000)
	elif x < 10 ** 12:
		return N(x // 10 ** 9) + ' Billion ' + N(x % 10 ** 9)
c = int(input())
if c == 0:
	print('zero')
else:
	print(N(c).lower())


des = {2: 'twenty', 3: 'thirty', 4: 'forty', 5: 'fifty', 6: 'sixty', 7: 'seventy', 8: 'eighty', 9: 'ninety'}
ed = {0: 'zero', 1: 'one', 2: 'two', 3: 'three', 4: 'four', 5: 'five', 6: 'six', 7: 'seven', 8: 'eight', 9: 'nine'}
n = int(input())
if n == 10:
	num = 'ten'
if n // 10 == 0:
	num = ed[n]
if n // 10 == 1:
	if n == 11:
		num = 'eleven'
	if n == 12:
		num = 'twelve'
	if n == 13:
		num = 'thirteen'
	if n == 18:
		num = 'eighteen'
	if n == 15:
		num = 'fifteen'
	if n > 13 and n != 18 and (n != 15):
		num = ed[n % 10] + 'teen'
if n // 10 > 1:
	if n % 10 != 0:
		num = des[n // 10] + '-' + ed[n % 10]
	if n % 10 == 0:
		num = des[n // 10]
print(num)


def conversion(num):
	tens = {2: 'twenty-', 3: 'thirty-', 4: 'forty-', 5: 'fifty-', 6: 'sixty-', 7: 'seventy-', 8: 'eighty-', 9: 'ninety-'}
	units = {0: 'zero', 1: 'one', 2: 'two', 3: 'three', 4: 'four', 5: 'five', 6: 'six', 7: 'seven', 8: 'eight', 9: 'nine'}
	special = {10: 'ten', 11: 'eleven', 12: 'twelve', 13: 'thirteen', 14: 'fourteen', 15: 'fifteen', 16: 'sixteen', 17: 'seventeen', 18: 'eighteen', 19: 'nineteen'}
	if len(str(num)) == 1:
		score = units[num]
	elif str(num)[0] == '1':
		score = special[num]
	elif str(num)[-1] == '0':
		the_num = int(str(num)[0])
		score = tens[the_num].rstrip('-')
	else:
		left = int(str(num)[0])
		right = int(str(num)[-1])
		score = tens[left] + units[right]
	return score

def main():
	num = int(input())
	num_word = conversion(num)
	print(num_word)
main()


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


n = input()
string = '0   zero    10  ten     20 twenty \n1   one 11  eleven       \n2   two 12  twelve\n3   three   13  thirteen    30  thirty\n4   four    14  fourteen    40  forty\n5   five    15  fifteen         50  fifty\n6   six 16  sixteen         60  sixty\n7   seven   17  seventeen   70  seventy\n8   eight   18  eighteen    80  eighty\n9   nine    19  nineteen        90      ninety '
Set = string.split()
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='')


a = input()
b = int(a)
c = len(a)
d = str(a)
if c == 1:
	if b == 0:
		print('zero')
	if b == 1:
		print('one')
	if b == 2:
		print('two')
	if b == 3:
		print('three')
	if b == 4:
		print('four')
	if b == 5:
		print('five')
	if b == 6:
		print('six')
	if b == 7:
		print('seven')
	if b == 8:
		print('eight')
	if b == 9:
		print('nine')
if c == 2:
	if int(d[0]) == 1:
		if int(d[1]) == 0:
			print('ten')
		if int(d[1]) == 1:
			print('eleven')
		if int(d[1]) == 2:
			print('twelve')
		if int(d[1]) == 3:
			print('thirteen')
		if int(d[1]) == 4:
			print('fourteen')
		if int(d[1]) == 5:
			print('fifteen')
		if int(d[1]) == 6:
			print('sixteen')
		if int(d[1]) == 7:
			print('seventeen')
		if int(d[1]) == 8:
			print('eighteen')
		if int(d[1]) == 9:
			print('nineteen')
	if b // 10 == 2:
		print('twenty', end='')
		if b % 10 == 1:
			print('-one')
		if b % 10 == 2:
			print('-two')
		if b % 10 == 3:
			print('-three')
		if b % 10 == 4:
			print('-four')
		if b % 10 == 5:
			print('-five')
		if b % 10 == 6:
			print('-six')
		if b % 10 == 7:
			print('-seven')
		if b % 10 == 8:
			print('-eight')
		if b % 10 == 9:
			print('-nine')
	if b // 10 == 3:
		print('thirty', end='')
		if b % 10 == 1:
			print('-one')
		if b % 10 == 2:
			print('-two')
		if b % 10 == 3:
			print('-three')
		if b % 10 == 4:
			print('-four')
		if b % 10 == 5:
			print('-five')
		if b % 10 == 6:
			print('-six')
		if b % 10 == 7:
			print('-seven')
		if b % 10 == 8:
			print('-eight')
		if b % 10 == 9:
			print('-nine')
	if b // 10 == 4:
		print('forty', end='')
		if b % 10 == 1:
			print('-one')
		if b % 10 == 2:
			print('-two')
		if b % 10 == 3:
			print('-three')
		if b % 10 == 4:
			print('-four')
		if b % 10 == 5:
			print('-five')
		if b % 10 == 6:
			print('-six')
		if b % 10 == 7:
			print('-seven')
		if b % 10 == 8:
			print('-eight')
		if b % 10 == 9:
			print('-nine')
	if b // 10 == 5:
		print('fifty', end='')
		if b % 10 == 1:
			print('-one')
		if b % 10 == 2:
			print('-two')
		if b % 10 == 3:
			print('-three')
		if b % 10 == 4:
			print('-four')
		if b % 10 == 5:
			print('-five')
		if b % 10 == 6:
			print('-six')
		if b % 10 == 7:
			print('-seven')
		if b % 10 == 8:
			print('-eight')
		if b % 10 == 9:
			print('-nine')
	if b // 10 == 6:
		print('sixty', end='')
		if b % 10 == 1:
			print('-one')
		if b % 10 == 2:
			print('-two')
		if b % 10 == 3:
			print('-three')
		if b % 10 == 4:
			print('-four')
		if b % 10 == 5:
			print('-five')
		if b % 10 == 6:
			print('-six')
		if b % 10 == 7:
			print('-seven')
		if b % 10 == 8:
			print('-eight')
		if b % 10 == 9:
			print('-nine')
	if b // 10 == 7:
		print('seventy', end='')
		if b % 10 == 1:
			print('-one')
		if b % 10 == 2:
			print('-two')
		if b % 10 == 3:
			print('-three')
		if b % 10 == 4:
			print('-four')
		if b % 10 == 5:
			print('-five')
		if b % 10 == 6:
			print('-six')
		if b % 10 == 7:
			print('-seven')
		if b % 10 == 8:
			print('-eight')
		if b % 10 == 9:
			print('-nine')
	if b // 10 == 8:
		print('eighty', end='')
		if b % 10 == 1:
			print('-one')
		if b % 10 == 2:
			print('-two')
		if b % 10 == 3:
			print('-three')
		if b % 10 == 4:
			print('-four')
		if b % 10 == 5:
			print('-five')
		if b % 10 == 6:
			print('-six')
		if b % 10 == 7:
			print('-seven')
		if b % 10 == 8:
			print('-eight')
		if b % 10 == 9:
			print('-nine')
	if b // 10 == 9:
		print('ninety', end='')
		if b % 10 == 1:
			print('-one')
		if b % 10 == 2:
			print('-two')
		if b % 10 == 3:
			print('-three')
		if b % 10 == 4:
			print('-four')
		if b % 10 == 5:
			print('-five')
		if b % 10 == 6:
			print('-six')
		if b % 10 == 7:
			print('-seven')
		if b % 10 == 8:
			print('-eight')
		if b % 10 == 9:
			print('-nine')


def p1151D():
	num = int(input())
	pairs = []
	for i in range(num):
		(a, b) = map(int, input().split())
		pairs.append((a, b, a - b))
	pairs.sort(key=lambda x: -x[2])
	dis = 0
	for (i, pers) in enumerate(pairs):
		dis += pers[0] * i + pers[1] * (num - i - 1)
	print(dis)

def p535A(x=None):
	score = x if x else input()
	smalls = {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', 15: 'fifteen', 18: 'eighteen'}
	tens = {1: 'ten', 2: 'twenty', 3: 'thirty', 4: 'forty', 5: 'fifty', 6: 'sixty', 7: 'seventy', 8: 'eighty', 9: 'ninety'}
	try:
		output = smalls[int(score)]
	except KeyError:
		if score[0] == '1':
			output = '{}teen'.format(smalls[int(score[1])])
		else:
			output = '{}-{}'.format(tens[int(score[0])], smalls[int(score[1])]) if score[1] != '0' else tens[int(score[0])]
	print(output)
p535A()


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 == 20:
	print('twenty')
if n == 21:
	print('twenty-one')
if n == 22:
	print('twenty-two')
if n == 23:
	print('twenty-three')
if n == 24:
	print('twenty-four')
if n == 25:
	print('twenty-five')
if n == 26:
	print('twenty-six')
if n == 27:
	print('twenty-seven')
if n == 28:
	print('twenty-eight')
if n == 29:
	print('twenty-nine')
if n == 30:
	print('thirty')
if n == 31:
	print('thirty-one')
if n == 32:
	print('thirty-two')
if n == 33:
	print('thirty-three')
if n == 34:
	print('thirty-four')
if n == 35:
	print('thirty-five')
if n == 36:
	print('thirty-six')
if n == 37:
	print('thirty-seven')
if n == 38:
	print('thirty-eight')
if n == 39:
	print('thirty-nine')
if n == 40:
	print('forty')
if n == 41:
	print('forty-one')
if n == 42:
	print('forty-two')
if n == 43:
	print('forty-three')
if n == 44:
	print('forty-four')
if n == 45:
	print('forty-five')
if n == 46:
	print('forty-six')
if n == 47:
	print('forty-seven')
if n == 48:
	print('forty-eight')
if n == 49:
	print('forty-nine')
if n == 50:
	print('fifty')
if n == 51:
	print('fifty-one')
if n == 52:
	print('fifty-two')
if n == 53:
	print('fifty-three')
if n == 54:
	print('fifty-four')
if n == 55:
	print('fifty-five')
if n == 56:
	print('fifty-six')
if n == 57:
	print('fifty-seven')
if n == 58:
	print('fifty-eight')
if n == 59:
	print('fifty-nine')
if n == 60:
	print('sixty')
if n == 61:
	print('sixty-one')
if n == 62:
	print('sixty-two')
if n == 63:
	print('sixty-three')
if n == 64:
	print('sixty-four')
if n == 65:
	print('sixty-five')
if n == 66:
	print('sixty-six')
if n == 67:
	print('sixty-seven')
if n == 68:
	print('sixty-eight')
if n == 69:
	print('sixty-nine')
if n == 70:
	print('seventy')
if n == 71:
	print('seventy-one')
if n == 72:
	print('seventy-two')
if n == 73:
	print('seventy-three')
if n == 74:
	print('seventy-four')
if n == 75:
	print('seventy-five')
if n == 76:
	print('seventy-six')
if n == 77:
	print('seventy-seven')
if n == 78:
	print('seventy-eight')
if n == 79:
	print('seventy-nine')
if n == 80:
	print('eighty')
if n == 81:
	print('eighty-one')
if n == 82:
	print('eighty-two')
if n == 83:
	print('eighty-three')
if n == 84:
	print('eighty-four')
if n == 85:
	print('eighty-five')
if n == 86:
	print('eighty-six')
if n == 87:
	print('eighty-seven')
if n == 88:
	print('eighty-eight')
if n == 89:
	print('eighty-nine')
if n == 90:
	print('ninety')
if n == 91:
	print('ninety-one')
if n == 92:
	print('ninety-two')
if n == 93:
	print('ninety-three')
if n == 94:
	print('ninety-four')
if n == 95:
	print('ninety-five')
if n == 96:
	print('ninety-six')
if n == 97:
	print('ninety-seven')
if n == 98:
	print('ninety-eight')
if n == 99:
	print('ninety-nine')


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


score = int(input())
msg = ''
if len(str(score)) == 1:
	if score == 0:
		msg = 'zero'
	elif score == 1:
		msg = 'one'
	elif score == 2:
		msg = 'two'
	elif score == 3:
		msg = 'three'
	elif score == 4:
		msg = 'four'
	elif score == 5:
		msg = 'five'
	elif score == 6:
		msg = 'six'
	elif score == 7:
		msg = 'seven'
	elif score == 8:
		msg = 'eight'
	elif score == 9:
		msg = 'nine'
if len(str(score)) == 2:
	score = str(score)
	if score[0] == '1':
		if score[1] == '0':
			msg = 'Ten'
		elif score[1] == '1':
			msg = 'Eleven'
		elif score[1] == '2':
			msg = 'Twelve'
		elif score[1] == '3':
			msg = 'Thirteen'
		elif score[1] == '4':
			msg = 'Fourteen'
		elif score[1] == '5':
			msg = 'Fifteen'
		elif score[1] == '6':
			msg = 'Sixteen'
		elif score[1] == '7':
			msg = 'Seventeen'
		elif score[1] == '8':
			msg = 'Eighteen'
		elif score[1] == '9':
			msg = 'Nineteen'
	if score[0] == '2':
		msg = 'Twenty'
	elif score[0] == '3':
		msg = 'Thirty'
	elif score[0] == '4':
		msg = 'Forty'
	elif score[0] == '5':
		msg = 'Fifty'
	elif score[0] == '6':
		msg = 'Sixty'
	elif score[0] == '7':
		msg = 'Seventy'
	elif score[0] == '8':
		msg = 'Eighty'
	elif score[0] == '9':
		msg = 'Ninety'
	if score[0] != '1':
		if score[1] == '1':
			msg += '-one'
		elif score[1] == '2':
			msg += '-two'
		elif score[1] == '3':
			msg += '-three'
		elif score[1] == '4':
			msg += '-four'
		elif score[1] == '5':
			msg += '-five'
		elif score[1] == '6':
			msg += '-six'
		elif score[1] == '7':
			msg += '-seven'
		elif score[1] == '8':
			msg += '-eight'
		elif score[1] == '9':
			msg += '-nine'
print(msg.lower())


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


import sys

def single(number):
	if number == 0:
		print('zero')
	elif 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('eight')
	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()


def first(n):
	if n == '2':
		return 'twenty'
	elif n == '3':
		return 'thirty'
	elif n == '4':
		return 'forty'
	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'

def second(n):
	if 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'
	else:
		return ''
x = input()
res = ''
if len(x) == 1:
	if x == '0':
		print('zero')
	else:
		res += second(x)
		res = res[1:]
		print(res)
elif len(x) == 2:
	if x[0] == '1':
		if x[1] == '0':
			print('ten')
		elif x[1] == '1':
			print('eleven')
		elif x[1] == '2':
			print('twelve')
		elif x[1] == '3':
			print('thirteen')
		elif x[1] == '5':
			print('fifteen')
		elif x[1] == '8':
			print('eighteen')
		else:
			res += second(x[1])
			res = res[1:]
			res += 'teen'
			print(res)
	else:
		res = ''
		res += first(x[0]) + second(x[1])
		print(res)


n = int(input())
l = ['zero', 'one', 'two', 'three', 'four', 'five', 'six', 'seven', 'eight', 'nine', 'ten', 'eleven', 'twelve', 'thirteen', 'fourteen', 'fifteen', 'sixteen', 'seventeen', 'eighteen', 'nineteen', 'twenty']
for i in range(21, 100):
	l.append(0)
(l[30], l[40], l[50], l[60], l[70], l[80], l[90]) = ('thirty', 'forty', 'fifty', 'sixty', 'seventy', 'eighty', 'ninety')
if n <= 20 or n % 10 == 0:
	print(l[n])
else:
	a = l[n - n % 10] + '-' + l[n % 10]
	print(a)


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']
ans = []
n = int(input())
if n // 10 >= 2 and n % 10 != 0:
	rem = n % 10
	ans.append(l1[rem])
	ans.append('-')
	tens = n // 10
	ans.append(l2[tens - 2])
	print(ans[-1] + ans[-2] + ans[-3])
	ans = []
elif n // 10 >= 2 and n % 10 == 0:
	tens = n // 10
	ans.append(l2[tens - 2])
	print(ans[0])
	ans = []
else:
	print(l1[n])


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):
	try:
		print(num2words[n])
	except KeyError:
		try:
			print(num2words[n - n % 10].lower() + '-' + num2words[n % 10].lower())
		except KeyError:
			print('Number out of range')
n2w(int(input()))


a = ['', 'one', 'two', 'three', 'four', 'five', 'six', 'seven', 'eight', 'nine']
b = ['', '', 'twen', 'thir', 'for', 'fif']
c = ['', '-one', '-two', '-three', '-four', '-five', '-six', '-seven', '-eight', '-nine']
n = int(input())
if n < 10:
	print(a[n])
elif n == 11:
	print('eleven')
elif n == 12:
	print('twelve')
elif n == 10:
	print('ten')
elif n == 14:
	print('fourteen')
elif n == 18:
	print('eighteen')
elif n // 10 == 1:
	if n < 16:
		print(str(b[n - 10]) + 'teen')
	else:
		print(str(a[n - 10]) + 'teen')
elif n // 10 < 6:
	print(str(b[n // 10] + 'ty' + str(c[n % 10])))
elif n // 10 != 8:
	print(str(a[n // 10] + 'ty' + str(c[n % 10])))
else:
	print('eighty' + str(c[n % 10]))
if n == 0:
	print('zero')


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


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


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

def process(number, index):
	if number == '0':
		return 'zero'
	length = len(number)
	if length > 3:
		return False
	number = number.zfill(3)
	words = ''
	hdigit = int(number[0])
	tdigit = int(number[1])
	odigit = int(number[2])
	words += '' if number[0] == '0' else ones[hdigit]
	words += ' Hundred ' if not words == '' else ''
	if tdigit > 1:
		words += tens[tdigit - 2]
		words += '-'
		words += ones[odigit]
	elif tdigit == 1:
		words += twos[int(tdigit + odigit) % 10 - 1]
	elif tdigit == 0:
		words += ones[odigit]
	if words.endswith('Zero'):
		words = words[:-len('Zero')]
	else:
		words += ' '
	if not len(words) == 0:
		words += suffixes[index]
	return words

def getWords(number):
	length = len(str(number))
	if length > 12:
		return 'This program supports upto 12 digit numbers.'
	count = length // 3 if length % 3 == 0 else length // 3 + 1
	copy = count
	words = []
	for i in range(length - 1, -1, -3):
		words.append(process(str(number)[0 if i - 2 < 0 else i - 2:i + 1], copy - count))
		count -= 1
	final_words = ''
	for s in reversed(words):
		temp = s + ''
		final_words += temp
	return final_words
n = int(input())
if n > 10 and n % 10 == 0:
	print(tens[n // 10 - 2])
else:
	print(getWords(n))


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

def to_word(n):
	if n < 20:
		return ones[n]
	elif n < 100 and n % 10 == 0:
		return three[n // 10]
	elif n < 100:
		return f'{three[n // 10]}-{ones[n % 10]}'
	elif n < 1000 and n % 100 == 0:
		return f'{ones[n // 100]} {hun}'
	elif n < 1000:
		return f'{ones[n // 100]} {hun} and {to_word(n % 100)}'
	elif n == 1000:
		return f'one {thu}'
n = int(input())
print(to_word(n))


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


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


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


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


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


a = ['one', 'two', 'three', 'four', 'five', 'six', 'seven', 'eight', 'nine']
b = ['ten', 'twenty', 'thirty', 'forty', 'fifty', 'sixty', 'seventy', 'eighty', 'ninety']
k = str(int(input()))
if k == '0':
	print('zero')
elif len(k) == 1:
	print(a[int(k) - 1])
elif k[0] == '1':
	if k[1] == '0':
		print(b[int(k[0]) - 1])
	elif k == '11':
		print('eleven')
	elif k == '12':
		print('twelve')
	elif k == '14':
		print('fourteen ')
	else:
		print(str(b[int(k[1]) - 1])[:-2] + 'teen')
elif k[1] == '0':
	print(b[int(k[0]) - 1])
else:
	print(b[int(k[0]) - 1] + '-' + a[int(k[1]) - 1])


num = int(input())
table = {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 num >= 0 and num <= 19:
	print(table.get(num))
else:
	second = num % 10
	first = int(num / 10) * 10
	if second == 0:
		print(table.get(num))
	else:
		str_first = table.get(first)
		str_second = table.get(second)
		hyphen = '-'
		out = str_first + hyphen + str_second
		print(out)


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:
	print(a[s % 10])
elif s % 10 == 0:
	print(b[s // 10 - 2])
else:
	print(b[s // 10 - 2] + '-' + a[s % 10])


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


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


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()
	elif a == '4':
		out += 'forty'
	elif a == '5':
		out += 'fifty'
	elif a == '8':
		out += 'eighty'
	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())
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]
elif n % 10 == 0:
	ans = l2[n // 10]
else:
	ans = l2[n // 10] + '-' + l1[n % 10]
print(ans)


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


l = ['', '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())
if n == 0:
	s = 'zero'
elif n >= 1 and n < 20:
	s = l[n]
else:
	s = '-'.join([d[n // 10 - 2], l[n % 10]])
print(s.strip('-'))


num2words1 = {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'}
num2words2 = ['Twenty', 'Thirty', 'Forty', 'Fifty', 'Sixty', 'Seventy', 'Eighty', 'Ninety']

def number(Number):
	if Number == 0:
		return 'zero'
	elif 1 <= 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)


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


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


f1 = {'1': 'ten', '2': 'twenty', '3': 'thirty', '4': 'forty', '5': 'fifty', '6': 'sixty', '7': 'seventy', '8': 'eighty', '9': 'ninety'}
f2 = {'1': 'one', '2': 'two', '3': 'three', '4': 'four', '5': 'five', '6': 'six', '7': 'seven', '8': 'eight', '9': 'nine'}
f3 = {'1': 'eleven', '2': 'twelve', '3': 'thirteen', '4': 'fourteen', '5': 'fifteen', '6': 'sixteen', '7': 'seventeen', '8': 'eighteen', '9': 'nineteen'}
Inp = input()
if len(Inp) < 2:
	Inp = '0' + Inp
res = ''
if int(Inp[1]) == 0:
	if int(Inp[0]) == 0:
		res = 'zero'
	else:
		res = f1[Inp[0]]
else:
	if int(Inp[0]) == 0:
		res = f2[Inp[1]]
	if int(Inp[0]) == 1:
		res = f3[Inp[1]]
	if int(Inp[0]) > 1:
		res = f1[Inp[0]] + '-' + f2[Inp[1]]
print(res)


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


import sys

def input():
	return sys.stdin.readline().strip()

def iinput():
	return int(input())

def rinput():
	return map(int, sys.stdin.readline().strip().split())

def get_list():
	return list(map(int, sys.stdin.readline().strip().split()))
n = iinput()
a = ['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 and n <= 19:
	print(a[n - 1])
elif n == 0:
	print('zero')
elif n % 10 == 0 and n != 10:
	print(b[n // 10 - 2])
elif n > 20 and n < 30:
	print(b[0] + '-' + a[n - 21])
elif n > 30 and n < 40:
	print(b[1] + '-' + a[n - 31])
elif n > 40 and n < 50:
	print(b[2] + '-' + a[n - 41])
elif n > 50 and n < 60:
	print(b[3] + '-' + a[n - 51])
elif n > 60 and n < 70:
	print(b[4] + '-' + a[n - 61])
elif n > 70 and n < 80:
	print(b[5] + '-' + a[n - 71])
elif n > 80 and n < 90:
	print(b[6] + '-' + a[n - 81])
elif n > 90:
	print(b[7] + '-' + a[n - 91])


s = input()
res = ''
teen = False
separator = True
sl = []
if len(s) == 1:
	sl.append('0')
for elem in s:
	sl.append(elem)
if sl[1] == '0':
	separator = False
if sl[0] == '1':
	teen = True
	separator = False
elif sl[0] == '2':
	res = 'twenty'
elif sl[0] == '3':
	res = 'thirty'
elif sl[0] == '4':
	res = 'forty'
elif sl[0] == '5':
	res = 'fifty'
elif sl[0] == '6':
	res = 'sixty'
elif sl[0] == '7':
	res = 'seventy'
elif sl[0] == '8':
	res = 'eighty'
elif sl[0] == '9':
	res = 'ninety'
else:
	separator = False
if separator:
	res += '-'
if teen:
	if sl[1] == '1':
		res = 'eleven'
	elif sl[1] == '2':
		res = 'twelve'
	elif sl[1] == '3':
		res = 'thirteen'
	elif sl[1] == '4':
		res = 'fourteen'
	elif sl[1] == '5':
		res = 'fifteen'
	elif sl[1] == '6':
		res = 'sixteen'
	elif sl[1] == '7':
		res = 'seventeen'
	elif sl[1] == '8':
		res = 'eighteen'
	elif sl[1] == '9':
		res = 'nineteen'
	else:
		res = 'ten'
elif sl[1] == '1':
	res += 'one'
elif sl[1] == '2':
	res += 'two'
elif sl[1] == '3':
	res += 'three'
elif sl[1] == '4':
	res += 'four'
elif sl[1] == '5':
	res += 'five'
elif sl[1] == '6':
	res += 'six'
elif sl[1] == '7':
	res += 'seven'
elif sl[1] == '8':
	res += 'eight'
elif sl[1] == '9':
	res += 'nine'
elif sl[1] == '0' and sl[0] == '0':
	res = 'zero'
print(res)


units = ['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']
inn = int(input(''))
if inn <= 19:
	print(units[inn])
	quit()
elif inn % 10 == 0:
	print(tens[inn // 10])
else:
	print(tens[inn // 10] + '-' + units[inn % 10])


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'}
b = ['Twenty', 'Thirty', 'Forty', 'Fifty', 'Sixty', 'Seventy', 'Eighty', 'Ninety']
n = int(input())
if n < 20:
	print(a.get(n).lower())
elif n % 10 == 0:
	print(b[n // 10 - 2].lower())
else:
	print(b[n // 10 - 2].lower() + '-' + a.get(n % 10).lower())


n = int(input())
v = ['zero', 'one', 'two', 'three', 'four', 'five', 'six', 'seven', 'eight', 'nine', 'ten']
ty = 'ty'
te = 'teen'
if n < 20 and n > 10:
	a = n % 10
	if a == 3:
		ans = 'thirteen'
	elif a == 1:
		ans = 'eleven'
	elif a == 2:
		ans = 'twelve'
	elif a == 5:
		ans = 'fifteen'
	elif a == 8:
		ans = 'eighteen'
	else:
		ans = v[a] + te
	n = -1
if n < 11 and n >= 0:
	ans = v[n]
	n = -1
while n >= 0:
	a = n % 10
	n = int(n / 10)
	if a == 0:
		if n != 2 and n != 3 and (n != 8) and (n != 5) and (n != 4):
			ans = v[n] + ty
		elif n == 2:
			ans = 'twenty'
		elif n == 8:
			ans = 'eighty'
		elif n == 5:
			ans = 'fifty'
		elif n == 4:
			ans = 'forty'
		else:
			ans = 'thirty'
		break
	if a != 0 and n != 2 and (n != 3) and (n != 8) and (n != 5) and (n != 4):
		ans = v[n] + ty + '-' + v[a]
		break
	elif n == 2:
		ans = 'twenty' + '-' + v[a]
		break
	elif n == 3:
		ans = 'thirty' + '-' + v[a]
		break
	elif n == 8:
		ans = 'eighty' + '-' + v[a]
		break
	elif n == 4:
		ans = 'forty' + '-' + v[a]
		break
	else:
		ans = 'fifty' + '-' + v[a]
		break
print(ans)


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


dic1 = {'0': 'zero', '1': 'one', '2': 'two', '3': 'three', '4': 'four', '5': 'five', '6': 'six', '7': 'seven', '8': 'eight', '9': 'nine'}
dic2 = {'2': 'twent', '3': 'thirt', '4': 'fort', '5': 'fift', '6': 'sixt', '7': 'sevent', '8': 'eight', '9': 'ninet'}
s = input()
if len(s) == 1:
	print(dic1[s])
elif s == '10':
	print('ten')
elif s == '11':
	print('eleven')
elif s == '12':
	print('twelve')
elif s == '14':
	print('fourteen')
elif s[0] == '1':
	print(dic2[s[1]] + 'een')
elif s[1] == '0':
	print(dic2[s[0]] + 'y')
else:
	print(dic2[s[0]] + 'y' + '-' + dic1[s[1]])


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


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


number = int(input())
table1 = ['zero', 'one', 'two', 'three', 'four', 'five', 'six', 'seven', 'eight', 'nine', 'ten', 'eleven', 'twelve', 'thirteen', 'fourteen', 'fifteen', 'sixteen', 'seventeen', 'eighteen', 'nineteen']
table2 = ['twenty', 'thirty', 'forty', 'fifty', 'sixty', 'seventy', 'eighty', 'ninety']
result = ''
ten = number // 10
unit = number % 10
if ten == 0 or ten == 1:
	result = table1[number]
else:
	result += table2[ten - 2]
	if unit != 0:
		result += '-' + table1[unit]
print(result)


numbers = 'zero one two three four five six seven eight nine'.split()
numbers.extend('ten eleven twelve thirteen fourteen fifteen sixteen'.split())
numbers.extend('seventeen eighteen nineteen'.split())
numbers.extend((tens if ones == 'zero' else tens + '-' + ones for tens in 'twenty thirty forty fifty sixty seventy eighty ninety'.split() for ones in numbers[0:10]))
h = int(input())
print(numbers[h])


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)


second_digit = ['', '', 'twenty', 'thirty', 'forty', 'fifty', 'sixty', 'seventy', 'eighty', 'ninety']
special_num = ['zero', 'one', 'two', 'three', 'four', 'five', 'six', 'seven', 'eight', 'nine', 'ten', 'eleven', 'twelve', 'thirteen', 'fourteen', 'fifteen', 'sixteen', 'seventeen', 'eighteen', 'nineteen']
num = int(input())
output = ''
flag = False
if num // 10 != 0 and num // 10 != 1:
	output += second_digit[num // 10]
	flag = True
digit = num % 10
if flag:
	if digit != 0:
		output += '-' + special_num[digit]
else:
	output += special_num[num]
print(output)


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