The grain store sold 258 kg of rice in the morning and 187 kg in the afternoon, leaving 520 kg of rice left. How many kilograms of rice did the grain store have?
粮店上午卖出258千克大米，下午卖出187千克大米，还剩大米520千克．粮店原来有大米多少千克？
<gadget id="calculator">258 + 187 + 520</gadget>
<output>965</output>

<result>965</result>