Xiao Ming bought a total of 8 books with the unit price of 10 yuan and 12 yuan respectively. Among them, book a with the unit price of 10 yuan, how much should he pay.
小明买了单价分别为10元和12元的两种书共8本，其中单价为10元的书a本，应付多少元．
<gadget id="calculator">96 - 2</gadget>
<output>94</output>

<result>94</result>