#include <bits/stdc++.h>
using namespace std;
inline int area(int x1, int y1, int x2, int y2, int x3, int y3) {
  int ax = x1 - x2, ay = y1 - y2;
  int bx = x1 - x3, by = y1 - y3;
  return ax * by - ay * bx;
}
int n, px[500], py[500];
int main() {
  while (scanf("%d", &n) == 1) {
    for (int i = 0; i < n; ++i) {
      scanf("%d%d", px + i, py + i);
    }
    double ans = 0;
    for (int i = 0; i < n; ++i) {
      for (int j = i + 1; j < n; ++j) {
        int ns = 0x7ffffff, ps = -ns;
        for (int k = 0; k < n; ++k) {
          if (k == i || k == j) continue;
          int t = area(px[i], py[i], px[j], py[j], px[k], py[k]);
          if (t < ns) ns = t;
          if (t > ps) ps = t;
        }
        if (ans < ps - ns) ans = ps - ns;
      }
    }
    printf("%lf\n", ans / 2);
  }
  return 0;
}
