A mass ' M ' attached to a horizontal spring executes S.H.M. of amplitude A_1. When the mass M passes through its mean position, then a smaller mass ' m ' is placed over it and both of them move together with amplitude \mathrm{A}_2. The ratio \left(\frac{A_1}{A_2}\right) is