Master Li bought 1 table and 4 chairs for a total of 58 yuan. It is known that the price of each table is 18 yuan more expensive than the price of each chair. How much is the price of a chair?
李师傅买1张桌子和4把椅子一共用去58元，已知每张桌子的价钱比每把椅子的价钱贵18元，问一把椅子的价钱是多少元？
<gadget id="calculator">58 - 18</gadget>
<output>40</output>

<gadget id="calculator">1 + 4</gadget>
<output>5</output>

<gadget id="calculator">40 / 5</gadget>
<output>8</output>

<result>8</result>