In the granary of Party A and Party B, the grain stored by Party B is one fifth less than that of Party A. put a quarter of the grain stored by Party A into Party B, and then transport 30 tons from Party B. the two granaries have the same amount of grain. How many thousands of grain did party a store

In the granary of Party A and Party B, the grain stored by Party B is one fifth less than that of Party A. put a quarter of the grain stored by Party A into Party B, and then transport 30 tons from Party B. the two granaries have the same amount of grain. How many thousands of grain did party a store

If a granary originally stored x tons of grain, then B granary originally stored (x-1 / 5x) tons of grain
x-1/4x=(x-1/5x)+1/4x-30
3/4x=4/5x+1/4x-30
3/4x-4/5x-1/4x=-30
-3/10x=-30
x=100
A: a granary used to store 100 tons of grain