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: to attend a university in Moscow, but they gave him a monthly allowance of seven hundred rubles a month

A: to attend a university in Moscow, but they gave him a monthly allowance of 700 rubles a month
****
Q: An enormous crowd assembled to witness the execution, amounting, it was said, to the hitherto unparalleled number of forty thousand.

A: An enormous crowd assembled to witness the execution, amounting, it was said, to the hitherto unparalleled number of 40,000.
****
Q: The Seven Wonders of the Ancient World. By Edgar J. Banks. Chapter two. The Walls of Babylon.

A:
The Seven Wonders of the Ancient World. By Edgar J. Banks. Chapter 2. The Walls of Babylon.
****