The sixth grade students participated in the activity, half of them went climbing with 3 people, and the remaining half went rowing with 10 people, and there were 40 people left. How many people are there in the sixth grade?
六年级的学生参加活动，其中一半又3人去爬山，余下的一半又10人划船，还剩40人．六年级共有多少人？
<gadget id="calculator">40 + 10</gadget>
<output>50</output>

<gadget id="calculator">50 * 2</gadget>
<output>100</output>

<gadget id="calculator">100 + 3</gadget>
<output>103</output>

<gadget id="calculator">103 * 2</gadget>
<output>206</output>

<result>206</result>