There are two grain warehouses, A and B. If warehouse A transports 260 kilograms, then warehouse B is 110 kilograms more than warehouse A. It is known that warehouse B originally stored 5150 kilograms of grain. How many kilograms of grain are there in the two warehouses?
甲、乙两个粮食仓库，如果甲仓库运走260千克，则乙仓库比甲仓库多110千克，已知乙仓库存粮原有5150千克，原来两个粮库共存粮多少千克？
<gadget id="calculator">5_150 - 110</gadget>
<output>5_040</output>

<gadget id="calculator">5_040 + 260</gadget>
<output>5_300</output>

<gadget id="calculator">5_300 + 5_150</gadget>
<output>10_450</output>

<result>10_450</result>