There are 40 students in a class. If 1/10 are absent, 3/4 of the students who are present are in the classroom, and the rest are in the canteen, how many students are in the canteen?
Out of the 40, 40 x 1/10 = 
<gadget id="calculator">40*1/10</gadget>
<output>4</output>
4 students are absent.
So, 40 - 4 = 
<gadget id="calculator">40-4</gadget>
<output>36</output>
36 students are present in school.
Out of the 36, 36 x 3/4 = 
<gadget id="calculator">36*3/4</gadget>
<output>27</output>
27 students are in the classroom.
This means, 36 - 27 = 
<gadget id="calculator">36-27</gadget>
<output>9</output>
9 students are in the canteen.

<result>9</result>