A long block A of mass M is at rest on a smooth horizontal surface. A small block B of mass M/2 is placed on A at one end and projected along A with some velocity v. The coefficient of friction between the block is μ. Then, the accelerations of blocks A and B before reaching a common velocity will be respectively.