Xiaohua received 1,000 yuan in New Year's money this year, of which (1/2) was 50 yuan more for deposit, and the remaining (1/5) was used to buy stationery and 10 yuan less. The rest of the money was spent on gifts for grandparents. How much did Xiaohua spend on gifts?
小华今年收到压岁钱1000元，其中的(1/2)还多50元来存款，买文具用去了余下的(1/5)少10元．其余的钱买礼物送给了爷爷奶奶．小华买礼物用去多少元？
<gadget id="calculator">1 / 2</gadget>
<output>1/2 = around 0.5</output>

<gadget id="calculator">1_000 * (1/2)</gadget>
<output>500</output>

<gadget id="calculator">500 + 50</gadget>
<output>550</output>

<gadget id="calculator">1_000 - 550</gadget>
<output>450</output>

<gadget id="calculator">1 / 5</gadget>
<output>1/5 = around 0.2</output>

<gadget id="calculator">450 * (1/5)</gadget>
<output>90</output>

<gadget id="calculator">90 - 10</gadget>
<output>80</output>

<gadget id="calculator">1_000 - 550 - 80</gadget>
<output>370</output>

<result>370</result>