A bullet of mass m1=20gm fired horizontally with a velocity of v=200m/s hits a wooden block of mass m2=500 gm (take g=9.8m/s2) resting on a horizontal plane as shown in the figure and the bullet remains embedded in the block after the impact. If the coefficient of friction between the surface in contact remains constant at 0.3, the distance the block will move before coming to rest is