#include<iostream.h>
#include<math.h>
#define MAX 100
int main()
{
double a,b,x0,e,y;
e=0.0001;x0=1.3;
double *x=new double [MAX];
int k=0;
x[0]=x0;
cout<<x[0];
do{
for(int i=1;i<MAX;i++)
{
y=(pow(x[i],3)+1.0)/3.0;
x[i+1]=y;
a=x[i+1]-x[i];
b=x[i+1];
k++;
}
} while(fabs(a)>e);
cout<<b<<endl;
return 0;
}