Students from Class 4 and 3 stood in two columns to participate in the flag-raising ceremony. There were 12 students in front of Xiao Ming and 11 students in the back. How many students from Class 4 and 3 participated in the flag-raising ceremony?
四3班同学站成两路纵队参加升旗仪式，小明前面有12位同学，后面有11位同学，四3班共有多少位同学参加升旗仪式．
<gadget id="calculator">11 + 12 + 1</gadget>
<output>24</output>

<gadget id="calculator">24 * 2</gadget>
<output>48</output>

<result>48</result>