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]: because of Oswald's demonstrated hostility toward the Secretary of the Navy in his letter of January thirty, nineteen sixty two. Quote,
[A]: because of Oswald's demonstrated hostility toward the Secretary of the Navy in his letter of January 30, 1962. Quote,


[Q]: The distance between the point on the seat and the door was twenty seven inches.
[A]: The distance between the point on the seat and the door was 27 inches.


[Q]: As the Prison Discipline Society pertinently observed in a report dated eighteen twenty,
[A]:
As the Prison Discipline Society pertinently observed in a report dated 1820,