A total of 88 teachers and classmates planted trees together. There are 4 fewer boys than girls. Teachers planted 110 trees on average, boys planted 100 trees on average, and girls planted 80 trees on average. Teachers and students planted 8040 trees in total. Ask the teacher how many people are there?
老师和同学共88人，一起植树．男生比女生少4人，老师平均每人植110棵，男生平均每人植100棵，女生平均每人植80棵，师生共植了8040棵．问老师有多少人？
<gadget id="calculator">10_120 - 400 - 8_040</gadget>
<output>1_680</output>

<gadget id="calculator">220 - 80 - 100</gadget>
<output>40</output>

<gadget id="calculator">1_680 / 40</gadget>
<output>42</output>

<gadget id="calculator">42 * 2</gadget>
<output>84</output>

<gadget id="calculator">92 - 84</gadget>
<output>8</output>

<result>8</result>