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 eighteen thirty seven Lord John Russell's acts swept away a number of capital offenses, including cutting and maiming, rick burning,

Output: In 1837 Lord John Russell's acts swept away a number of capital offenses, including cutting and maiming, rick burning,


Input: Consider Input: The population, as reported by the committee in eighteen fourteen, averaged about sixty,

Output: The population, as reported by the committee in 1814, averaged about sixty,


Input: Consider Input: But it was proved that Watts had appropriated one cheque for fourteen hundred pounds,


Output: But it was proved that Watts had appropriated one cheque for £1400,