There are 12 rows of students doing exercises on the playground, and the number of students in each row is the same. Xiao Ming is standing in the third row, he is the fifth from the beginning of the row, and he is the 10th from the end of the row. How many students are doing exercises in total?
操场上有12排学生在做操，每排人数都相同，小明站在第3排，从排头数他是第5个，从排尾数他是第10个，一共有多少个学生在做操．
<gadget id="calculator">10 - 1</gadget>
<output>9</output>

<gadget id="calculator">5 + 9</gadget>
<output>14</output>

<gadget id="calculator">14 * 12</gadget>
<output>168</output>

<result>168</result>