import scala.io.StdIn

object Main extends App {
  val Array(x, y) = StdIn.readLine().split(' ').map(_.toLong)

  def loop(cnt: Long, xi: Long): Long = {
    if (xi > y) cnt
    else {
      loop(cnt + 1, x * scala.math.pow(2, cnt + 1).toLong)
    }
  }

  println(loop(0, x))

}