#include <bits/stdc++.h>
using namespace std;
struct Coord {
  int x, y;
  Coord(int a = 0, int b = 0) {
    x = a;
    y = b;
  }
  bool operator==(const Coord c) const { return c.x == x && c.y == y; }
};
double area(Coord &A, Coord &B, Coord &C) {
  return (double)(A.x * (B.y - C.y) + B.x * (C.y - A.y) + C.x * (A.y - B.y)) *
         0.5;
}
int main() {
  int n;
  cin >> n;
  vector<Coord> points(n);
  for (int i = 0; i < n; i++) {
    int a, b;
    cin >> a >> b;
    points[i] = Coord(a, b);
  }
  double ret = 0;
  for (int i = 0; i < points.size(); i++) {
    for (int j = i + 1; j < points.size(); j++) {
      double right = 0, left = 0;
      for (int k = 0; k < points.size(); k++) {
        double dir = area(points[i], points[j], points[k]);
        if (dir > 0.0000000001)
          left = ((dir < left) ? left : dir);
        else if (dir < 0) {
          dir *= -1;
          right = ((dir < right) ? right : dir);
        }
      }
      if (right > 0 && left > 0) {
        right = right + left;
        ret = ((ret < right) ? right : ret);
      }
    }
  }
  cout << fixed << std::setprecision(9) << ret << endl;
}
