The fruit store shipped 51 kilograms of oranges, 5 kilograms less bananas than twice the oranges, and 7 kilograms more apples than three times the bananas. How many kilograms of apples were shipped?
水果店运来51千克的桔子，运来的香蕉比桔子的2倍少5千克，苹果的重量比香蕉的3倍多7千克，运来苹果多少千克？
<gadget id="calculator">51 * 2</gadget>
<output>102</output>

<gadget id="calculator">102 - 5</gadget>
<output>97</output>

<gadget id="calculator">97 * 3</gadget>
<output>291</output>

<gadget id="calculator">291 - 7</gadget>
<output>284</output>

<result>284</result>