When a body of mass 8 kg is attached to a spring balance, the reading of the balance is 20 cm. Instead of 8 kg, if another body of mass M is suspended from the spring balance and is made to oscillate vertically, the time period of oscillation is \( \frac{\pi}{5} \) s, then the value of M is (Acceleration due to gravity = 10 ms\(^{-2} \))