Q: The task is to generate the correct answer for a given math problem.
Problem: a fruit seller had some apples . he sells 50 % apples and still he has 5000 . originally he had how many apples ?
A:
10000