function main(input) {
  const XY = input.split(' ').map(x => parseInt(x));;
  const X = XY[0];
  const Y = XY[1];

  console.log( parseInt((Y/X)).toString(2).length );
}
 
main(require('fs').readFileSync('/dev/stdin', 'utf8'))
