#includeusing namespace std;int main(){int x=1,sum=0;for (int i=1; sum<5000; i++){x += i-1;sum += x;}cout<return 0;}