Two people, A and B, deposited a few dollars in the bank. It is known that one quarter of Party A's deposit is equal to one fifth of Party B's deposit, and it is known that Party B has more 24 yuan than Party A. How much is each?
Solution: let a have a yuan and b yuan.
1/4a= 1/5b
b-a=24
solve
a=96
b= 120