There are 50 students in a class of the fourth grade. They do two math multiple-choice questions. There are 36 people who get the first question right, 24 people who get the second question right, and 18 people who get both questions right. How many people at most.
四年级某班50人，做两题数学选择题，做对第一题的有36人，做对第二题的有24人，两题都对的18人，那么两题都没有做对的最多有多少人．
<gadget id="calculator">24 - 18</gadget>
<output>6</output>

<gadget id="calculator">36 + 6</gadget>
<output>42</output>

<gadget id="calculator">50 - 42</gadget>
<output>8</output>

<result>8</result>