Problem: Peter got a new snow blower as a New Year present. Of course, Peter decided to try it immediately. After reading the instructions he realized that it does not work like regular snow blowing machines. In order to make it work, you need to tie it to some point that it does not cover, and then switch it on. As a result it will go along a circle around this point and will remove all the snow from its path.

Formally, we assume that Peter's machine is a polygon on a plane. Then, after the machine is switched on, it will make a circle around the point to which Peter tied it (this point lies strictly outside the polygon). That is, each of the points lying within or on the border of the polygon will move along the circular trajectory, with the center of the circle at the point to which Peter tied his machine.

Peter decided to tie his car to point P and now he is wondering what is the area of ​​the region that will be cleared from snow. Help him.

Input

The first line of the input contains three integers — the number of vertices of the polygon n (<image>), and coordinates of point P.

Each of the next n lines contains two integers — coordinates of the vertices of the polygon in the clockwise or counterclockwise order. It is guaranteed that no three consecutive vertices lie on a common straight line.

All the numbers in the input are integers that do not exceed 1 000 000 in their absolute value.

Output

Print a single real value number — the area of the region that will be cleared. Your answer will be considered correct if its absolute or relative error does not exceed 10 - 6. 

Namely: let's assume that your answer is a, and the answer of the jury is b. The checker program will consider your answer correct, if <image>.

Examples

Input

3 0 0
0 1
-1 2
1 2


Output

12.566370614359172464


Input

4 1 -1
0 0
1 2
2 0
1 1


Output

21.991148575128551812

Note

In the first sample snow will be removed from that area:

<image>

Solution (in CPP):

Solution:
#include <bits/stdc++.h>
class point {
  friend std::istream& operator>>(std::istream&, point&);

 public:
  point();
  double distance(const point& other) const;
  double dot(const point& other) const;
  point& operator-=(const point& other);
  int x() const { return x_; }
  int y() const { return y_; }

 private:
  int x_, y_;
};
std::ostream& operator<<(std::ostream&, const point&);
point operator-(const point&, const point&);
class segment {
 public:
  segment(const point& a, const point& b);
  double distance(const point& p) const;

 private:
  point a_, b_;
};
using namespace std;
double circle_area(double radius);
const double pi = 2 * acos(0);
int main() {
  int vertices;
  point center;
  cout.precision(8);
  cout.setf(ios::fixed);
  while (cin >> vertices >> center) {
    double largest_radius = 0;
    double smallest_radius = 1e100;
    point first, last;
    for (int i = 0; i < vertices; i++) {
      point p;
      cin >> p;
      if (i != 0)
        smallest_radius =
            min(smallest_radius, segment(p, last).distance(center));
      else
        first = p;
      largest_radius = max(largest_radius, p.distance(center));
      last = p;
    }
    smallest_radius =
        min(smallest_radius, segment(first, last).distance(center));
    cout << circle_area(largest_radius) - circle_area(smallest_radius) << '\n';
  }
}
double circle_area(double radius) { return pi * radius * radius; }
point::point() : x_(0), y_(0) {}
std::istream& operator>>(std::istream& in, point& p) {
  return in >> p.x_ >> p.y_;
}
std::ostream& operator<<(std::ostream& out, const point& p) {
  return out << '(' << p.x() << ',' << p.y() << ')';
}
point operator-(const point& a, const point& b) {
  point p = a;
  return p -= b;
}
point& point::operator-=(const point& other) {
  x_ -= other.x_;
  y_ -= other.y_;
  return *this;
}
double square(double d) { return d * d; }
double point::distance(const point& other) const {
  return sqrt(square(x() - other.x()) + square(y() - other.y()));
}
double point::dot(const point& other) const {
  return static_cast<double>(x()) * other.x() +
         static_cast<double>(y()) * other.y();
}
segment::segment(const point& a, const point& b) : a_(a), b_(b) {}
double segment::distance(const point& p) const {
  double t = (p - a_).dot(b_ - a_) / square(a_.distance(b_));
  if (t > 0 && t < 1) {
    double mx = a_.x() + t * (b_ - a_).x();
    double my = a_.y() + t * (b_ - a_).y();
    return sqrt(square(mx - p.x()) + square(my - p.y()));
  }
  return min(b_.distance(p), a_.distance(p));
}