#include #include using namespace std; int main() { int a, b; int ans = 0; cin >> a >> b; for (int i = 1; a <= b; i++) { a = a * i; ans = i; } cout << ans; return 0; }