A massless ideal spring is hanging vertically. A sphere of mass of 500 g, suspended from the spring, stretches the spring from its initial position by 50 cm when it reaches equilibrium. The force constant of the spring is _________ $N m^{-1}$. ($Use g=10 m s^{-2}$)