Question:  The school cafeteria ordered 37 red apples and 45 green apples for students lunches. But, if only 51 students wanted fruit, how many extra did the cafeteria end up with? 

Solution program:
answer=((37.0+45.0)-51.0)
print(answer)

Answer: 31