Instructions: 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.
Input: 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