On the first day of school, Mrs. McGillicuddy had 25 students registered for the morning session of kindergarten, but 3 students were absent; and she had 24 students registered for the afternoon session, but 4 students were absent. How many students did Mrs. McGillicuddy have over the two kindergarten sessions?
25-3=
<gadget id="calculator">25-3</gadget>
<output>22</output>
22 students
24-4=
<gadget id="calculator">24-4</gadget>
<output>20</output>
20 students.
She had 22+20=
<gadget id="calculator">22+20</gadget>
<output>42</output>
42 students.

<result>42</result>