#include
#include
int main()
{
float beta, z;
std::cin >> beta >> z;
std::cout << "b = " << pow(beta + z, -exp(1)) - (pow(cos(pow(z, 4)), 3) + pow(tan(pow(beta - 1, -2)), 4) - 0.03f) </p>
/
(6.51f + sqrt(abs(beta - z)) + log10(abs(z - 1))) << std::endl;</p>
}