Blocks A and B each have a mass m. Determine the largest horizontal force P which can be applied to B so that A will not move relative to B. All surfaces are smooth.