A sum of money was divided between A and B so that A's share was to B's share as 5 is to 3. Also, A's share exceeded #5/9# of the whole sum by $50. What was each share?