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.

Input: Consider Input: till the whole body of the slaves were manumitted in eighteen thirty three.

Output: till the whole body of the slaves were manumitted in 1833.


Input: Consider Input: One out of every five Presidents since eighteen sixty five has been assassinated;

Output: One out of every five Presidents since 1865 has been assassinated;


Input: Consider Input: He hurried to his room and stayed no longer than three or four minutes.


Output: He hurried to his room and stayed no longer than 3 or 4 minutes.