program main
implicit none
integer(8) X,Y,Ai
integer length
 
read(*,*) X,Y
Ai=X+X
length=0
do
    if(Ai<=Y)then
    	Ai = Ai+Ai
	    length = length + 1
    else
    	exit
    endif
enddo
 
write(*,*) length
 
end program