import java.util.*

fun main(args: Array<String>) {
  val sc = Scanner(System.`in`)
  val x = sc.nextLong()
  val y = sc.nextLong()

  // val tmpa = (x..y).map { it }

  var pre = x
  var count = 0L
  while (pre <= y) {
    count++
    pre *= 2
  }

  println(count)
}
