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.

[Q]: Thus in the years between May first, eighteen twenty seven, and thirtieth April, eighteen thirty one,
[A]: Thus in the years between May 1st, 1827, and 30th April, 1831,


[Q]: An evaluation of the procedures employed to safeguard the President, with recommendations for improving these procedures, appears in Chapter eight of the report.
[A]: An evaluation of the procedures employed to safeguard the President, with recommendations for improving these procedures, appears in Chapter 8 of the report.


[Q]: In another interview with FBI agents on January seven, nineteen sixty four,
[A]:
In another interview with FBI agents on January 7, 1964,