object Main {
  def main(args: Array[String]): Unit = {
    val in = readLine.split(" ").map(_.toInt)
    val X = in(0)
    val Y = in(1)

    var max = Y / X
    var count = 0

    while(max > 1.0){
      max /= 2.0
      count += 1
    }

    print(count + 1)
  }
}