Problem: A very unusual citizen lives in a far away kingdom — Dwarf Gracula. However, his unusual name is not the weirdest thing (besides, everyone long ago got used to calling him simply Dwarf Greg). What is special about Dwarf Greg — he's been living for over 200 years; besides, he lives in a crypt on an abandoned cemetery and nobody has ever seen him out in daytime. Moreover, nobody has ever seen Greg buy himself any food. That's why nobody got particularly surprised when after the infernal dragon's tragic death cattle continued to disappear from fields. The people in the neighborhood were long sure that the harmless dragon was never responsible for disappearing cattle (considering that the dragon used to be sincere about his vegetarian views). But even that's not the worst part of the whole story.

The worst part is that merely several minutes ago Dwarf Greg in some unintelligible way got inside your house and asked you to help him solve a problem. The point is that a short time ago Greg decided to order a new coffin (knowing his peculiar character, you are not surprised at all). But the problem is: a very long in both directions L-shaped corridor leads to Greg's crypt, and you can't drag just any coffin through that corridor. That's why he asked you to help.

<image>

You've formalized the task on a plane like this: let the corridor's width before and after the turn be equal to a and b correspondingly (see the picture). The corridor turns directly at a right angle, the coffin is a rectangle whose length and width are equal to l and w (l ≥ w) correspondingly. Dwarf Greg has already determined the coffin's length (l), which is based on his height; your task is to determine the coffin's maximally possible width (w), at which it can be brought to the crypt. Besides, due to its large mass (pure marble!) the coffin is equipped with rotating wheels; therefore it is impossible to lift it off the ground, however, arbitrary moves and rotations of the coffin in the plane become possible. The coffin may be rotated arbitrarily just before you drag it into crypt and move through the corridor.

Greg promised that if you help him, he will grant you immortality (I wonder how?). And if you don't, well... trust me, you don't want to know what happens if you don't help him...

Input

The first line contains three space-separated integers a, b and l from the problem's statement (1 ≤ a, b, l ≤ 104).

Output

Print the maximally possible width of a coffin with absolute or relative error no more than 10 - 7. If a coffin with the given length and positive width (the coffin that would meet the conditions from the problem's statement) does not exist, print "My poor head =(" (without quotes).

It is guaranteed that if the answer is positive, it will be not less than 10 - 7. All the hacks will also be checked to meet that condition.

Examples

Input

2 2 1


Output

1.0000000


Input

2 2 2


Output

2.0000000

Input

2 2 3


Output

1.3284271


Input

2 2 6


Output

My poor head =(

Note

In the first example the answer is restricted by the coffin's length (remember — coffin's widths should not be larger than it's length).

In the second example it is possible to drag the coffin through the corridor thanks to rotating wheels: firstly, drag it forward by one side while it will not be hampered by the wall, then move it forward by adjacent side perpendicularly to the initial movement direction (remember — arbitrary moves and rotations of the coffin are possible).

Solution (in CPP):

Solution:
#include <bits/stdc++.h>
using namespace std;
bool PointEquals(pair<double, double> p1, pair<double, double> p2) {
  return abs(p1.first - p2.first) <= 1e-11 &&
         abs(p1.second - p2.second) <= 1e-11;
}
bool IsIntersecting(
    const pair<pair<double, double>, pair<double, double> >& segment1,
    const pair<pair<double, double>, pair<double, double> >& segment2,
    int* parallel, pair<double, double>* intersection_point) {
  double xx1 = segment1.first.first;
  double yy1 = segment1.first.second;
  double xx2 = segment1.second.first;
  double yy2 = segment1.second.second;
  double xx3 = segment2.first.first;
  double yy3 = segment2.first.second;
  double xx4 = segment2.second.first;
  double yy4 = segment2.second.second;
  *parallel = 0;
  if (fabs((yy4 - yy3) * (xx2 - xx1) - (xx4 - xx3) * (yy2 - yy1)) <= 1e-11) {
    *parallel = 1;
    if (PointEquals(segment1.first, segment2.first) ||
        PointEquals(segment1.first, segment2.second)) {
      *intersection_point = segment1.first;
      return true;
    } else if (PointEquals(segment1.second, segment2.first) ||
               PointEquals(segment1.second, segment2.second)) {
      *intersection_point = segment1.second;
      return true;
    }
    return false;
  }
  double ua = ((xx4 - xx3) * (yy1 - yy3) - (yy4 - yy3) * (xx1 - xx3)) /
              ((yy4 - yy3) * (xx2 - xx1) - (xx4 - xx3) * (yy2 - yy1));
  double& xi = (*intersection_point).first;
  double& yi = (*intersection_point).second;
  xi = xx1 + ua * (xx2 - xx1);
  yi = yy1 + ua * (yy2 - yy1);
  return ((xi + 1e-11 >= fmin(xx1, xx2)) && (xi - 1e-11 <= fmax(xx1, xx2)) &&
          (yi + 1e-11 >= fmin(yy1, yy2)) && (yi - 1e-11 <= fmax(yy1, yy2)) &&
          (xi + 1e-11 >= fmin(xx3, xx4)) && (xi - 1e-11 <= fmax(xx3, xx4)) &&
          (yi + 1e-11 >= fmin(yy3, yy4)) && (yi - 1e-11 <= fmax(yy3, yy4)));
}
double SegmentLength(pair<pair<double, double>, pair<double, double> > seg) {
  return sqrt((seg.first.first - seg.second.first) *
                  (seg.first.first - seg.second.first) +
              (seg.first.second - seg.second.second) *
                  (seg.first.second - seg.second.second));
}
double DistanceToLine(pair<pair<double, double>, pair<double, double> > line,
                      pair<double, double> point_x,
                      pair<double, double>* out_point = NULL) {
  pair<double, double> point_a, point_b;
  point_a = line.first;
  point_b = line.second;
  double cpx, cpy;
  double proj =
      ((point_x.first - point_a.first) * (point_b.first - point_a.first) +
       (point_x.second - point_a.second) * (point_b.second - point_a.second)) /
      ((point_b.first - point_a.first) * (point_b.first - point_a.first) +
       (point_b.second - point_a.second) * (point_b.second - point_a.second));
  cpx = point_a.first + proj * (point_b.first - point_a.first);
  cpy = point_a.second + proj * (point_b.second - point_a.second);
  if (out_point != NULL) {
    *out_point = make_pair(cpx, cpy);
  }
  return SegmentLength(make_pair(point_x, make_pair(cpx, cpy)));
}
double a, b;
double CalculateWidth(double length, double y) {
  pair<double, double> hit1 = make_pair(0.0, y);
  double x = sqrt(length * length - y * y);
  pair<double, double> hit2 = make_pair(x, 0.0);
  pair<double, double> hit;
  double jarak = DistanceToLine(make_pair(hit1, hit2), make_pair(a, b), &hit);
  if (hit.first > a + 1e-11 && hit.second > b + 1e-11) return -2.0;
  return jarak;
}
bool IsOk(double length, double width) {
  double bawah = 0.0;
  double atas = length;
  for (int(i) = 0; (i) < (400); ++(i)) {
    double low = bawah + (atas - bawah) * 1.0 / 3.0;
    double hi = bawah + (atas - bawah) * 2.0 / 3.0;
    double wid1 = CalculateWidth(length, low);
    double wid2 = CalculateWidth(length, hi);
    if (wid1 + 1e-11 < width || wid2 + 1e-11 < width) return false;
    if (wid1 < wid2) {
      atas = hi;
    } else {
      bawah = low;
    }
  }
  return true;
}
int main() {
  double l;
  cin >> a >> b >> l;
  double jawab = -2.0;
  if (l <= a) jawab = max((jawab), (b));
  if (l <= b) jawab = max((jawab), (a));
  double lb = 0.0;
  double ub = a;
  for (int(i) = 0; (i) < (300); ++(i)) {
    double mid = (lb + ub) / 2.0;
    if (IsOk(l, mid)) {
      jawab = max((jawab), (mid));
      lb = mid;
    } else {
      ub = mid;
    }
  }
  lb = 0.0;
  ub = b;
  for (int(i) = 0; (i) < (300); ++(i)) {
    double mid = (lb + ub) / 2.0;
    if (IsOk(mid, l)) {
      jawab = max((jawab), (mid));
      lb = mid;
    } else {
      ub = mid;
    }
  }
  if (jawab < 0.0) {
    cout << "My poor head =(" << endl;
  } else {
    printf("%.9lf\n", min(jawab, l));
  }
  return 0;
}