#include<iostream>

using namespace std;

int main(){
    int x,y,z = 1;
    cin >> x >> y;
    while(x<=y){
        x *= z;
        z++;
    }
    
    cout << z;
    return 0;
    
}