On Sunday, Aunt Wang's children went home for a reunion. After she went to the market to buy eggplants, beans and other vegetables, she found that half of the money in her pocket had been spent. She calculated carefully, and found that the number of dimes she brought home was the same as the number of yuan coins she had brought home, and the number of remaining yuan coins was half of the number of dimes she brought out. She recalled that the number of yuan coins she brought out The number plus the number of dimes is equal to 17. How much did Aunt Wang spend on grocery shopping?
星期天，王大妈的孩子回家团聚．她到集市买了茄子、豆角等菜回来后，发现口袋里的钱已经花了一半．她仔细算了一下，发现带回家的角币数和她原来带的元币数一样多，剩下的元币数是她带出的角币数的一半，她回忆带出的元币数加角币数等于17．王大妈买菜花了多少元？
<gadget id="calculator">17 - 8</gadget>
<output>9</output>

<gadget id="calculator">0.1 * 8</gadget>
<output>0.8</output>

<gadget id="calculator">9 + 0.8</gadget>
<output>9.8</output>

<gadget id="calculator">0.5 * 9.8</gadget>
<output>4.9</output>

<result>4.9</result>