Provide your best answer for the following math problem. Give ONLY the answer, no other words or explanation.
For example:

Answer: <most likely answer, as short as possible; not a complete sentence, just the answer!>.

The problem is: rates for having a manuscript typed at a certain typing service are $ 5 per page for the first time a page is typed and $ 3 per page each time a page is revised . if a certain manuscript has 100 pages , of which 30 were revised only once , 20 were revised twice , and the rest required no revisions , what was the total cost of having the manuscript typed ?
$ 710
$ 730.