module Main where

import Control.Applicative
import Control.Monad
import Data.List

main :: IO ()
main = do
    [x, y] <- fmap read . words <$> getLine :: IO [Int]
    let ans = takeWhile (<= y) $ iterate (* 2) x
    print $ length ans