Two uniform rods of equal length but different masses are rigidly joined to form an `L`-shaped body, which is then pivoted about `O` as shown. If in equilibrium the body is in the shown configuration, ratio `M/m` will be
A. 2
B. 3
C. `sqrt(2)`
D. `sqrt(3)`