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

    val max = (Y.toDouble / X.toDouble)

    val lnOf2 = scala.math.log(2)
    val log = (scala.math.log(max) / lnOf2 + 1.0).floor.toInt

    print(log)
  }
}