The task is to read a passage and convert numbers in their text forms into digit forms. The text numbers can be used to represent Quantity, Dates and Time, Addresses or Positions.

Ex Input:
When Parkland Hospital received the notification, the staff in the emergency area was alerted and trauma rooms one and two were prepared.

Ex Output:
When Parkland Hospital received the notification, the staff in the emergency area was alerted and trauma rooms 1 and 2 were prepared.


Ex Input:
in the three years between eighteen thirteen and eighteen sixteen,

Ex Output:
in the three years between 1813 and 1816,


Ex Input:
Contacts with De Mohrenschildt and his wife did continue and they saw the Oswalds occasionally until the spring of nineteen sixty three.

Ex Output:

Contacts with De Mohrenschildt and his wife did continue and they saw the Oswalds occasionally until the spring of 1963.