|시간 제한||메모리 제한||제출||정답||맞은 사람||정답 비율|
|1 초||128 MB||16||1||1||100.000%|
In this problem, you will be given one or more integers in English. Your task is to translate these numbers into their integer representation. The numbers can range from negative 999,999,999 to positive 999,999,999. The following is an exhaustive list of English words that your program must account for:
negative, 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, hundred, thousand, million
The input consists of several instances. Notes on input:
The input is terminated by an empty line.
The answers are expected to be on separate lines with a newline after each.
six negative seven hundred twenty nine one million one hundred one eight hundred fourteen thousand twenty two
6 -729 1000101 814022