Rates for having a manuscript typed at a certain typing service are $10 per page for the first time a page is typed and $6 per page each time a page is revised. If a certain manuscript has 100 pages, of which 40 were revised only once, 10 were revised twice, and the rest required no revisions, what was the total cost of having the manuscript typed?	Choose one:
A) $430
B) $1620
C) $1650
D) $1110
E) $1770
For 100-40-10= 
<gadget id="calculator">100-40-10</gadget>
<output>50</output>
50 pages only cost is 10$ per page for the first time page is typed - 50*10=500$;   For 40 pages the cost is: first time 5$ + 6$ of the first revision - 40*(5+6)=440$;   For 10 pages the cost is: first time 5$ + 6$ of the first revision + 6$ of the second revision - 10(5+6+6)=170$;   Total: 500+440+170= 
<gadget id="calculator">500+440+170</gadget>
<output>1_110</output>
1110$.   Answer: $1110.
<result>D</result>
Rates for having a manuscript typed at a certain typing service are $10 per page for the first time a page is typed and $6 per page each time a page is revised. If a certain manuscript has 100 pages, of which 40 were revised only once, 10 were revised twice, and the rest required no revisions, what was the total cost of having the manuscript typed?