Xiaoxiao did the math after returning home. The entrance fee is three times the meal fee. The two fees are 1240 yuan in total. How much is the meal fee?
笑笑回家后算了算，门票的费用是餐费的3倍，两项费用一共是1240元，餐费用去多少元？
<gadget id="calculator">3 + 1</gadget>
<output>4</output>

<gadget id="calculator">1_240 / 4</gadget>
<output>310</output>

<result>310</result>