import java.util.*

fun main(args: Array<String>) {

    val s = readLine()!!.split(" ").map { it.toLong() }
    val x = s[0]
    val y = s[1]
    val list = mutableListOf<Long>()
    var now = x
    while(true) {
        if (now > y) break
        list.add(now)
        now = now * 2;
    }
    println(list.size)
}