#include <iostream>
using namespace std;
int main() {
int H;
int T;
cin>>H;
cin>>T;
int h;
int t;
if(H>=1 && T<=100)
{
h=H;
t=T;
}
int count=0;
while(h>t)
{
t+=t;
count++;
}
cout<<count;
return 0;
}