A [ma] g bullet moving horizontally strikes and remains in a…

A [ma] g bullet moving horizontally strikes and remains in a [mb] kg block initially at rest on the edge of a table. The block, which is initially [h] cm above the floor, strikes the floor a horizontal distance of [R] cm from its initial position. What was the initial speed of the bullet? Please give your answer in units of km/s.