#include <stdio.h> int main() { int h,t, count =0; scanf("%d %d",&h,&t); while(h>=t){ t*=t; count++; } printf("%d", count); return 0; }