#include <bits/stdc++.h>
using namespace std;
void solve()
{
int n,m,cnt=0;
cin>>n>>m;
while(n>=m)
{
m+=m;
cnt++;
}
cout<<cnt;
}
int main()
{
int t=1;
//cin>>t;
while(t--)
{
solve();
cout<<endl;
}
return 0;
}