'use strict'

function main(s) {

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

  // 64ビット浮動小数点型の最大値(2^53 - 1)を超えるため
  x = x * -1e20;
  y = y * -1e20;

  let counter = 0;
  while (x >= y) {
    x = x * 2;
    counter += 1;
  }

  console.log(counter);
}

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