A pair of trousers is 108 yuan, and a jacket is 18 yuan less than three times that of a pair of trousers. How much does it cost to buy a set of clothes?
一条裤子108元，一件上装比一条裤子的3倍少18元，买一套衣服需要多少元？
<gadget id="calculator">108 * 3</gadget>
<output>324</output>

<gadget id="calculator">324 - 18</gadget>
<output>306</output>

<gadget id="calculator">306 + 108</gadget>
<output>414</output>

<result>414</result>