Two blocks of mass m=5kg and M=10kg are connected by a string passing over a pulley B as shown. Another string connects the centre of pulley B to the floor and passes over another pulley A as shown. An upward force F is applied at the centre of pulley A. Both the pulleys are mass-less. An upward force F is applied in the pulley A. Find the acceleration of blocks m and M, if F is 100N.