A 10 gm bullet moving directly upward at 1000 m/s strikes and passes through the center of mass of a 10 kg block initially at rest. The bullet emerges from the block moving directly upward at 400 m/s. What will be velocity of the block just after the bullet comes out of it?