#include <algorithm>
#include  <iostream>
#include   <cstring>
#include    <cstdio>
#include    <vector>
#include    <bitset>
#include    <string>
#include    <cctype>
#include     <cmath>
#include     <deque>
#include     <stack>
#include     <queue>
#include       <map>
#include       <set>

using namespace std;
#define scd(a) scanf("%d", &a)
#define scdd(a,b) scanf("%d%d", &a, &b)
#define scddd(a,b,c) scanf("%d%d%d", &a, &b, &c)
#define X first
#define Y second
#define lowbit(x) ((x) & (-x))
typedef long long ll;
typedef unsigned long long ull;
const int N = 1e7 + 10, INF = 0x3f3f3f3f;
const ll mod =  1e9 + 7;
const double eps = 1e-10, Pi = 2*acos(0);
ll LINF = 1LL<<62;
ll n, m;
void solve(){
    scanf("%lld%lld",&n, &m);
    int cnt = 0;
    while(n <= m){
        cnt++;
        n = n*2;
    }

    printf("%d\n", cnt);
}
int main()
{
    #ifdef local
        freopen("in.txt", "r", stdin);
        //freopen("in.txt", "w", stdout);
    #endif
    int ce, c = 0;
        solve();
    return 0;
}
