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: In the early morning hours on November twenty two, nineteen sixty three,

Output: In the early morning hours on November 22, 1963,

Input: Consider Input: addressed him, insisting that he should forthwith sign a cheque for the eight hundred pounds of the Canning inheritance still uninvested,

Output: addressed him, insisting that he should forthwith sign a cheque for the 800 of the Canning inheritance still uninvested,

Input: Consider Input: Hosty had come to the Paine residence on November one and five, nineteen sixty three,
Output: Hosty had come to the Paine residence on November 1 and 5, 1963,