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 Q]: Bates, the least guilty, was pardoned in eighteen fifty eight.
[EX A]: Bates, the least guilty, was pardoned in 1858.

[EX Q]: On the evening of October twenty four, nineteen sixty three, after addressing a meeting in Dallas,
[EX A]: On the evening of October 24, 1963, after addressing a meeting in Dallas,

[EX Q]: Immediately after serving out his three years in the U.S. Marine Corps, he abandoned his American life to seek a new life in the USSR.
[EX A]:
Immediately after serving out his 3 years in the U.S. Marine Corps, he abandoned his American life to seek a new life in the USSR.