// arc088-c
object Main extends App {
  val Array(x, y) = io.StdIn.readLine.split(" ").map(_.toLong)

  def solve(acc: Long, count: Int): Int =
    if (y < acc) count
    else solve(acc*2, count+1)
  
  val result = solve(x, 0)
  println(result)
}