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