The salaries of A and B together amount to $5000. A spends 95% of his salary and B, 85% of his. If now, their savings are the same, what is A's salary? Select:
A) $ 1000 B) $ 1250 C) $ 2500 D) $ 3500 E) $ 3750

Rationale: "let a ' s salary is x b ' s salary = 5000 - x ( 100 - 95 ) % of x = ( 100 - 85 ) % of ( 5000 - x ) x = $ 3750 answer is e"
Answer: E