Two blocks having masses 8 kg and 16 kg are connected to the two ends of a light spring. The system is placed on a smooth horizontal floor. An inextensible string also connects B with ceiling