#include<bits/stdc++.h> using namespace std; int main(){ int x=0,a=0; while(x<=1000){ a++; x=x+a; } cout<<a; }