A block B of mass m placed on a horizontal frictionless surface is tied to a point A on a vertical wall by mean of a massless string going over a frictionless moveable pulley P as shown in the figure. A force F is applied to the pulley as shown. The acceleration of the block is