#include <bits/stdc++.h>
#define maxn 3008
#define Max(a,b) a>b?a:b
#define Min(a,b) a<b?a:b
#define X first
#define Y second
typedef long long ll;
const ll mod = 1000000007;
const ll INF = 0x3f3f3f3f3f3f3f3f;
const int inf = 0x3f3f3f3f;
using namespace std;
#pragma warning(disable:4996)//取消安全警告
#pragma comment(linker, "/STACK:102400000,102400000")//手动扩栈
//ios::sync_with_stdio(false);
//**********不要使用int***********************
ll ans, cans, rans, fans, lans,sum;
map<ll, int>g;
map<ll, int>k;

bool is_duo(ll a, ll b) {
	ll k = a * a + b * b;
	ll u = sqrt(k);
	if (k == u * u)return 1;
	return 0;
}

ll gcd(ll a, ll b) {
	if (a > b)swap(a, b);
	return b % a ? gcd(b%a, a) : a;
}

int main() {
	ll x, y;
	cin >> x >> y;
	int a = 1;
	if (x == 1)x++;
	while (x <= y) {
		x *= 2; a++;
	}
	cout << a-1<< endl;
	return 0;
}