#include <iostream>
#include <cmath>
using std::cout;
using std::endl;
using std::cin;
int main()
{
int z;
int x;
int y;
cout << "z = exp(x) - (pow(y,2) + 12xy - 3*pow(x,2)) / 18y - 1" << endl;
cout << "Enter x,y:\n " << endl;
cin >> x;
cin >> y;
if ( 18*y - 1 == 0)
{
cout << " Нет решений " << endl;
}
else
{
z = exp(x) - (pow(y,2) + 12*x*y - 3*pow(x,2)) / 18*y - 1;
}
cout << z << endl;
return 0;
}