Given a math word problem, answer the following question. You might need to apply addition or subtraction mathematical operators on the numbers embedded in the text to answer the question and then only report the final numerical answer.

94 students signed up for computer classes . there were 24 second graders and 29 third graders . the rest of the students were 4 graders . how many 4 graders took computer classes ?
41

it 's basketball season in ashford elementary school . chuck the team captain of the blue team is feeling nervous about it . their first opponent is the red team composed of other 3 graders gave them a hard time . if they lost by 13 points and the red team scored 61 points what is their team 's final score ?
48

for a party adam bought 97 cupcakes . if 58 were eaten how many cupcakes would adam have left ?
39