英语六级口语考试(半年后)即将来临,小明担心自己不会用英文读数字,请你教教他各个数字的英文读法。
读法规定如下:
zero
,one
,two
,three
,four
,five
,six
,seven
,eight
,nine
ten
,eleven
,twelve
,thirteen
,fourteen
,fifteen
,sixteen
,seventeen
, eighteen
,nineteen
twenty
,thirty
,forty
,fifty
,sixty
,seventy
,eighty
,ninety
-
连接,如21读作twenty-one
hundred
后面的数字要加and
如101读作one hundred and one
thousand
后面的数字要加逗号,
如1001读作one thousand, one
thousand
,million
,billion
后面要加英文标点逗号,
多组输入,每行一个非负整数$n$,$0 \leq n < 10^{12}$
每组数据输出一行字符串,表示$n$的英文读法
0
34
113
8600
10101011000
1234567
zero
thirty-four
one hundred and thirteen
eight thousand, six hundred
ten billion, one hundred and one million, eleven thousand
one million, two hundred and thirty-four thousand, five hundred and sixty-seven
注意空格和逗号
Author:罗梓浩