#include <bits/stdc++.h>
using namespace std;
struct Point {
  int x;
  int y;
} point[305], p1, p2;
int main() {
  int n;
  scanf("%d", &n);
  double ans = 0;
  for (int i = 1; i <= n; i++) {
    scanf("%d %d", &point[i].x, &point[i].y);
  }
  for (int i = 1; i <= n - 1; i++) {
    for (int j = i + 1; j <= n; j++) {
      p1.x = point[j].x - point[i].x;
      p1.y = point[j].y - point[i].y;
      double d1 = 0, d2 = 0;
      double side = sqrt(p1.x * p1.x * 1.0 + p1.y * p1.y * 1.0);
      for (int k = 1; k <= n; k++) {
        if (k == i || k == j) continue;
        p2.x = point[k].x - point[i].x;
        p2.y = point[k].y - point[i].y;
        double dd = p1.x * p2.y - p2.x * p1.y;
        double t = fabs(dd / side);
        if (dd < 0) {
          if (d1 < t) d1 = t;
        } else {
          if (d2 < t) d2 = t;
        }
      }
      if (d1 != 0 && d2 != 0) {
        double area = 0.5 * side * (d1 + d2);
        if (area > ans) ans = area;
      }
    }
  }
  printf("%.10f", ans);
  return 0;
}
