#include
double f(double x)
{return x*x*x+x-1;
}
int main()
{ double x;
scanf("%lf",&x);
printf("f(x)=%f\n",f(x));
printf("f(5+x)=%f\n",f(5+x));
printf("f(sinx)=%f\n",f(sin(x)));
return 0;
#define FUN_N(n) (n^n+n-1)//