A ball rolling on the top of a staircase of each step with height H and width W, with an initial velocity U will just hit the nth step. Then n =