The price of a chair is 50 yuan, and the price of a table is 10 yuan less than three times the price of a chair. How much does it cost to buy a table?
一把椅子的价钱是50元，一张桌子的价钱比一把椅子价钱的3倍少10元．买一张桌子需要多少元？
<gadget id="calculator">50 * 3</gadget>
<output>150</output>

<gadget id="calculator">150 - 10</gadget>
<output>140</output>

<result>140</result>