SPOKEN NUMBER REVERSED

Submit

Your name:
File:
Open code-statistics:

Language is selected by the extension of the file. See the list of supported languages to know the extension of your language.

Problem

Write them out in Mathematics!

Thanks for submitting a challenge, but this challenge is similar to SPOJ's WORDNUM (http://www.spoj.pl/SHORTEN/problems/WORDNUM/) so I'd like to make this challenge endless -- shinh

Options

exec is denied

no deadline, the server will not save your submission

Sample input:_

one
ten
one hundred
one thousand
ten thousand
one hundred thousand
one million
ten million
one hundred million
one billion

Sample output:

1
10
100
1000
10000
100000
1000000
10000000
100000000
1000000000

Sample input:_

two
three
four
five
six
seven
eight
nine
eleven
twelve
thirteen
fourteen
fifteen
sixteen
seventeen
eighteen
nineteen
twenty
twenty one
thirty
thirty two
one hundred one
one hundred ten
one hundred eleven
one hundred twenty
one hundred twenty one
two hundred
two hundred one
two hundred ten
two hundred eleven

Sample output:

2
3
4
5
6
7
8
9
11
12
13
14
15
16
17
18
19
20
21
30
32
101
110
111
120
121
200
201
210
211

Sample input:_

one hundred fifty four million eighty three thousand two hundred fifty two
nine hundred seventy nine million seven hundred ninety seven thousand three hundred sixty four
nine hundred six million four hundred thirty three thousand one hundred six
twenty six million one hundred fifty three thousand five hundred sixty five
one hundred thirty five million six hundred fifty thousand six hundred thirty five
three hundred ninety eight million seven hundred seventy three thousand one hundred ninety four
three hundred forty one million seven hundred thirty five thousand eight hundred forty
two hundred ninety three million eight hundred eighty four thousand two hundred seventy eight
six hundred sixty million four hundred thousand three hundred ninety one
six hundred ninety four million one hundred eighty three thousand three hundred fifty
two hundred eighty five million nine hundred eighty thousand two hundred twenty five
six hundred fifty one million three hundred ninety seven thousand seven hundred six
nine hundred seventy two million one hundred ninety eight thousand four hundred eighty seven
seven hundred forty million four hundred seventy eight thousand five hundred sixteen
seven hundred ninety seven million nine hundred forty three thousand one hundred sixteen
three hundred seventy five million nine hundred fifteen thousand five hundred twenty eight
three hundred seventy eight million six hundred sixty two thousand one hundred ten
six hundred ninety seven million one hundred forty three thousand five hundred fifty five
six hundred fifty one million five hundred nineteen thousand seven hundred seventy six
eight hundred eighty eight million five hundred eighty thousand three hundred twenty three
eight hundred eighty eight million one hundred fifty three thousand seventy seven
two hundred twenty three million three hundred fifty eight thousand one hundred fifty five
three hundred seventeen million sixteen thousand six hundred two
nine hundred thirty four million nine hundred ninety seven thousand five hundred fifty nine
two hundred ninety three million seven hundred sixty two thousand two hundred eight
three hundred fifty million four hundred sixty three thousand eight hundred sixty eight
nine hundred sixty eight million four hundred forty four thousand eight hundred twenty five
six hundred eighty nine million two hundred eight thousand nine hundred eighty five
four hundred eighty five million nine hundred thirty one thousand three hundred ninety seven
six hundred sixty nine million two hundred fifty thousand four hundred eighty nine
five hundred forty six million seven hundred fifty two thousand nine hundred thirty
six hundred eighty seven million nine hundred twenty seven thousand two hundred forty seven

Sample output:

154083252
979797364
906433106
26153565
135650635
398773194
341735840
293884278
660400391
694183350
285980225
651397706
972198487
740478516
797943116
375915528
378662110
697143555
651519776
888580323
888153077
223358155
317016602
934997559
293762208
350463868
968444825
689208985
485931397
669250489
546752930
687927247

Ranking

Ruby _

RankUserSizeTimeDateStatistics
1jpl1830.04962014/07/18 05:14:480B / ?B / ?B

Perl _

RankUserSizeTimeDateStatistics
1teebee1010.05352012/12/22 19:30:260B / 48B / 51B
2mitchs (ton)1020.04842014/05/11 07:07:280B / 47B / 53B
3tybalt891070.05382011/02/21 10:27:1010B / ?B / ?B
4jonathan camacho2500.03792015/03/15 03:54:4732B / 104B / 101B

Python _

RankUserSizeTimeDateStatistics
1hallvabo1890.10052015/04/07 07:28:280B / 102B / 78B
2rolf2900.09912013/02/19 04:51:55148B / 92B / 47B

PHP _

RankUserSizeTimeDateStatistics
1jonathan camacho4000.06552015/03/12 02:44:40202B / 101B / 55B

C _

RankUserSizeTimeDateStatistics
1aze2860.04402013/01/25 18:29:470B / ?B / ?B
2lifthrasiir2910.00252011/07/08 02:52:550B / 160B / 131B

Haskell _

RankUserSizeTimeDateStatistics
1rst762930.04652012/04/05 21:52:430B / 181B / 80B
2Icewing3330.07732012/02/25 03:31:260B / 183B / 114B

Brainfuck _

RankUserSizeTimeDateStatistics
1mitchs (cheat)3500.08802016/07/13 14:42:3889B / 90B / 147B

GolfScript _

RankUserSizeTimeDateStatistics
1jonathan camacho3250.16232015/03/17 03:15:100B / 91B / 92B

Language Ranking_

RankLangUserSizeScore
1Perlteebee10110000
2Rubyjpl1835519
3Pythonhallvabo1895343
4Caze2863531
5Haskellrst762933447
6GolfScriptjonathan camacho3253107
7Brainfuckmitchs (cheat)3502885
8PHPjonathan camacho4002525

return top