#include <iostream>
#include <string>
#include <sstream>
#include <cmath>
using namespace std;
int main()
{
int x,y;
while (cin >> x >> y)
{
int z=0, count=1;
z = x;
while (z <= y)
{
x = x + 1;
z = z + x;
count = count + 1;
}
cout << count << endl;
}
}