A uniform beam of length l and mass m supports a bag of mass m1 at the left end, another bag of mass m2 at the right end, and a third bag m3 at a distance l3 from the left end (l3<0.5l).

At what distance from the left end should you support the beam so that it balances?