The ratio of lucky money for Party A and Party B is 4:3, and the ratio of money spent is 18:13. At this time, they all have 36 yuan left. How much did Party A and Party B have? Who gives me the wrong answer, I will not live First come first score ~ answer the correct plus score within five minutes!

The ratio of lucky money for Party A and Party B is 4:3, and the ratio of money spent is 18:13. At this time, they all have 36 yuan left. How much did Party A and Party B have? Who gives me the wrong answer, I will not live First come first score ~ answer the correct plus score within five minutes!

If a has 4x yuan, B has 3x yuan
So a used 4x-36 yuan, B used 3x-36 yuan
So 4x-36: 3x-36 = 18:13
We can get x = 90
So a used to have 360 yuan, B used to have 270 yuan