import java.io.InputStreamReader
import java.io.BufferedReader

fun main(args: Array<String>) {
  val br = BufferedReader(InputStreamReader(System.`in`))

  val(x, y) = br.readLine().split(" "). map { it.toLong() }

  tailrec fun rec(acc: Long, cnt: Int): Int =
    if(acc > y)  cnt
    else rec(acc*2, cnt+1)

  val ans = rec(x, 0)
  println(ans)
}