Mira pours some juice from jug A to an empty jug B. The volume of juice in jug B becomes 5 times of that in jug A. Then Adam pours some juice from jug B into glass C. The volume of juice in glass C is 3 times of that in jug B now. If glass C has 500 ml of juice more than jug B, what is the initial volume of juice in jug A? ​