A uniform beam of mass M=150 kg and length L=1.4 m is let go from a horizontal position, swings from a frictionless pivot at one end, and strikes a stationary block with mass M. If the collision is perfectly elastic, what is the maximum angle the beam makes with the vertical after the collision?