A block of mass m and a pan of equal mass are connected by a string going over a smooth light pulley as shown. Initially the system is at rest when a particle of mass m falls on the pan and sticks to it. If the particle strikes the pan with a speed v, the speed with which the system moves just after collision is