#include
#include
using namespace std;
int main() {
float x, y, z;
cin >> x >> y;
if (x <= 0) {<br> z = pow(3 * pow(x, 5) + y * y, (float) 1 / 7);
} else if (x > 0 && abs(y) >= x) {
z = atan(x * y);
} else {
z = log(5 * x - abs(y)) / log(4);
}
cout << z;<br> return 0;
}