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.
Q: mrs. franklin had 58 valentines . mrs. franklin gave some to her students . now she has 16 how many valentines did mrs. franklin give to her students ?
A: 
42