#include <iostream>
using namespace std;
int main() {
double x, y;
scanf (" %lf%lf ", &x, &y); // чтение из стандартного потока ввода.
if (( x*x + y*y <= 1) && (y<=x/2)) { //утверждение
printf ("u=-3"); //истина
}
else {
printf ("u = %2.2lf", y*y); //ложь
}
return 0;
}
I2luY2x1ZGUgPGlvc3RyZWFtPgp1c2luZyBuYW1lc3BhY2Ugc3RkOwoKaW50IG1haW4oKSB7Cglkb3VibGUgeCwgeTsgIAoJc2NhbmYgKCIgJWxmJWxmICIsICZ4LCAmeSk7IC8vINGH0YLQtdC90LjQtSDQuNC3INGB0YLQsNC90LTQsNGA0YLQvdC+0LPQviDQv9C+0YLQvtC60LAg0LLQstC+0LTQsC4KCWlmICgoIHgqeCArIHkqeSA8PSAxKSAmJiAoeTw9eC8yKSkgewkvL9GD0YLQstC10YDQttC00LXQvdC40LUKCQlwcmludGYgKCJ1PS0zIik7CQkvL9C40YHRgtC40L3QsAoJfQoJZWxzZSB7CgkJcHJpbnRmICgidSA9ICUyLjJsZiIsIHkqeSk7IAkvL9C70L7QttGMCgl9CglyZXR1cm4gMDsKfQ==