Xiaoming, Xiaohong, and Xiaoqing went fishing, counted the fish they caught, and found that Xiaoming caught three times as many fish as Xiaohong, Xiaohong caught 7 fewer fish than Xiaoqing, and Xiaoqing caught 7 more fish than Xiaoqing. There are 9 fewer fish than Xiaoming, how many fish did Xiaoming catch?
小明、小红、小青三位小朋友去钓鱼，数一数他们钓的鱼，发现小明钓的鱼是小红钓的3倍，小红钓的鱼比小青少7条，小青钓的鱼比小明少9条，小明钓到多少条鱼．
<gadget id="calculator">7 + 9</gadget>
<output>16</output>

<gadget id="calculator">3 - 1</gadget>
<output>2</output>

<gadget id="calculator">16 / 2</gadget>
<output>8</output>

<gadget id="calculator">8 * 3</gadget>
<output>24</output>

<result>24</result>