You will be given a definition of a task first, then some input of the task.
You are given a math word problem and you are supposed to only use subtraction on the numbers embedded in the text to answer the following question and then only report the final numerical answer.

Context: Paul had 50 books. After buying some in a garage sale he had 151 left. 

 Question: How many books did he buy?
Output:
101