Unspelling numbers

A challenge by Bulmenisaurus avatar Bulmenisaurus

Description

For each spelled out numbers 0-1000 in the input (inclusive), print its numeric value.

For example, for the input ‘three hundred and twenty-three’ you must print 323.

Leaderboard

Author Score
No solutions yet
You must be logged in to submit a solution.