program ABC083C
    implicit none
    integer(8)::X,Y
    integer(8)::result=0
    read(5,*)X,Y
    do
        X=X*2
        result=result+1
        if(X>Y)then
            exit
        end if
    end do

    print'(i0)',result
end program ABC083C