#include <iostream>
#include <cmath>
using namespace std;
int main()
{
double a, b, c, d, f, z, y, x, k;
cout << "enter b, c, d, f, z, y, x \n";
cin >> b>> c>> d>> f>> z>> y>> x;
if ((d* pow(x,3) - f == 0) || (sin(x) == 0))
{
cout << "no solutions";
}
else
{
k = pow(cos(x) ,2) / sin(x) - x*y*z + (a*(pow(x,2)) + b*x + c) / (d*(pow(x, 3)) - f);
cout << k;
}
return 0;
}