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