Class 6 and 2 conducted statistics before school. There were 18 people who completed the Chinese homework, accounting for 45% of the whole class, and 60% of the people who completed the math homework. Only 5 people did not complete both homework. How many people have completed it?
六2班在放学前进行了统计，有18人完成了语文作业，占全班人数的45%，有60%的人完成了数学作业，只有5人两项作业都没有完成，两项作业都已完成的有几人？
<gadget id="calculator">45 / 100</gadget>
<output>9/20 = around 0.45</output>

<gadget id="calculator">18 / (9/20)</gadget>
<output>40</output>

<gadget id="calculator">60 / 100</gadget>
<output>3/5 = around 0.6</output>

<gadget id="calculator">40 * (3/5)</gadget>
<output>24</output>

<gadget id="calculator">40 - 5</gadget>
<output>35</output>

<gadget id="calculator">24 - 35</gadget>
<output>-11</output>

<gadget id="calculator">18 + (-11)</gadget>
<output>7</output>

<result>7</result>