You will be given a definition of a task first, then some input of the task.
The task is to generate the correct answer for a given math problem.

Problem: jerome anticipated that the webweb . com stock price would fall and sold all his webweb . com stocks for $ 5 per stock . he paid $ 10,000 tax on the revenue . a week later , jerome became convinced that the webweb . com stock price would rise , and he used the money that he had gotten from selling the webweb . com stocks to purchase them again , this time at $ 6 per stock . if jerome ended up having 7000 webweb . com stocks fewer than the number he had before selling them , how many webweb . com stocks did he have originally ?
Output:
17,000