#include <iostream>
#include <cmath>
using namespace std;
int main()
{
double x,y,A,a,b;
cin>>a>>b>>x;
y=cos(x*x*x)*cos(x*x*x)-x/sqrt(a*a+b*b);
A=abs(pow(x,y/x)-pow(y/x,1/3));
cout<<"y="<<y<<"\nA="<<A;
return 0;
}
#include <iostream>
#include <cmath>
using namespace std;
int main()
{
double x,y,A,a,b;
cin>>a>>b>>x;
y=cos(x*x*x)*cos(x*x*x)-x/sqrt(a*a+b*b);
A=abs(pow(x,y/x)-pow(y/x,1/3));
cout<<"y="<<y<<"\nA="<<A;
return 0;
}