a fruit seller had some apples . he sells 50 % apples and still he has 5000 . originally he had how many apples ?
"suppose originally he had x apples then ( 100 - 50 ) % of x = 5000 50 x / 100 = 5000 x = 10000 answer is a"
original_price_before_loss(50, 5000)