#include<iostream>
#include<cstring>
#include<vector>
#include<queue>
#include<map>
#include<cmath>
#include<functional>
#include<algorithm>
#include<cstdio>
#define IOS std::ios::sync_with_stdio(false);cin.tie(0)
#define ll long long
//#define debug
#define INF 0x3f3f3f3f
using namespace std;
#define maxn 3005
int a[maxn];
int main(void) {
	IOS;
#ifdef debug
	freopen("input.txt", "r", stdin);
//	freopen("output.txt", "w", stdout);
#endif
	ll a,b;
	scanf("%lld%lld",&a,&b);
	int cnt = 0;
	while(a<=b) {
		cnt++;
		a*=2;
	}
	printf("%d",cnt);
	return 0;
}




