'use strict'

function main(s) {

  s = s.split('\n')[0].split(' ').map(x => Number(x));
  let x = s[0];
  const y = s[1];

  let counter = 0;

  while (x <= y) {
    // 64ビット浮動小数点型の最大値(2^53 - 1)を超える
    x = (x * 2).toFixed(0);
    counter += 1;
  }

  console.log(counter);
}

main(require("fs").readFileSync("/dev/stdin", "utf8"));
