Two blocks A of mass 10 kg and block B are connected to each other as shown in the figure. The pulley is frictionless. The coefficient of friction between the surfaces is 0.3. If the spring is stretched by 1 cm and friction is maximum, Calculate the spring constant (k) of the spring shown in the figure.