import std.algorithm;
import std.array;
import std.conv;
import std.math;
import std.range;
import std.stdio;
import std.string;
import std.typecons;

T read(T)() { return readln.chomp.to!T; }
T[] reads(T)() { return readln.split.to!(T[]); }
alias readint = read!int;
alias readints = reads!int;

int calc(long x, long y) {
    long p = x;
    int ans = 1;
    while (p * 2 <= y) {
        p *= 2;
        ans++;
    }
    return ans;
}

void main() {
    auto xy = reads!long;
    long x = xy[0], y = xy[1];
    writeln(calc(x, y));
}
