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 England about this time, an attempt was made (notably by Caslon, who started business in London as a type founder in seventeen twenty)

Output: In England about this time, an attempt was made (notably by Caslon, who started business in London as a type founder in 1720)


Input: Consider Input: Each agent carried a thirty eight caliber pistol, and a shotgun and automatic rifle were also available.

Output: Each agent carried a .38 caliber pistol, and a shotgun and automatic rifle were also available.


Input: Consider Input: became the victim of the most cowardly and unmanly outrages, and the attempted murder of the sovereign by Oxford in eighteen forty


Output: became the victim of the most cowardly and unmanly outrages, and the attempted murder of the sovereign by Oxford in 1840