(ns Atcoder.ABC088-A)

(defn solve [X Y]
  (loop [x X cnt 0]
    (if (> x Y)
      cnt
      (recur (* x 2) (inc cnt))
      )
    )
  )
(def input (map read-string (clojure.string/split (read-line) #" ")))
(println (solve (first input) (second input)))