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: (four) carried the rifle into the Depository Building, concealed in the bag;

Output: (4) carried the rifle into the Depository Building, concealed in the bag;


Input: Consider Input: At one:thirty five p.m., after Governor Connally had been moved to the operating room, Dr. Shaw started the first operation

Output: At 1:35 p.m., after Governor Connally had been moved to the operating room, Dr. Shaw started the first operation


Input: Consider Input: From the time Marguerite Oswald returned to work until December twenty six, nineteen forty two, when Lee too was sent to the orphans' home,


Output: From the time Marguerite Oswald returned to work until December 26, 1942, when Lee too was sent to the orphans' home,