In the broadcasting exercise competition, class 3 and 1 are arranged in 4 rows, with equal numbers of people in each row. Xiaohong is ranked 5th from the front and 8th from the back. How many students are there in her class?
广播操比赛，三1班排成4排，每排人数相等，小红从前面数排在第5个，从后面数排在第8个，她们班共有多少个同学？
<gadget id="calculator">5 - 1</gadget>
<output>4</output>

<gadget id="calculator">8 + 4</gadget>
<output>12</output>

<gadget id="calculator">12 * 4</gadget>
<output>48</output>

<result>48</result>