The whole class stood in a line. Liu Hao found that there were 16 people in front of him, and Wang Hesha found that there were 10 people behind him. They counted and found that the number of people between them accounted for 30% of the total number. How many people are there in the class?
全班的同学排成一行队站，留浩发现自己前面有16人，王河沙发现自己后面有10人，他俩数了数，发现两人之间的人数占全体人数的30%，求全班共有多少人？
<gadget id="calculator">16 + 10 + 2</gadget>
<output>28</output>

<gadget id="calculator">30 / 100</gadget>
<output>3/10 = around 0.3</output>

<gadget id="calculator">1 - (3/10)</gadget>
<output>7/10 = around 0.7</output>

<gadget id="calculator">28 / (7/10)</gadget>
<output>40</output>

<result>40</result>