#include <bits/stdc++.h>
using namespace std;
int x[2010], y[2010];
int n;
double find(int i, int j) {
  int x1 = x[i], y1 = y[i], x2 = x[j], y2 = y[j];
  int a = x1 - x2, b = y1 - y2;
  int c = -b * x1 + a * y1;
  int maxp = 0, maxn = 0, t;
  for (int k = 0; k < n; k++) {
    t = b * x[k] - a * y[k] + c;
    if (t > 0 && t > maxp) maxp = t;
    if (t < 0 && -t > maxn) maxn = -t;
  }
  if (maxp > 0 && maxn > 0)
    return ((maxp + maxn) / 2.0);
  else
    return 0;
}
int main() {
  cin >> n;
  for (int i = 0; i < n; i++) {
    cin >> x[i] >> y[i];
  }
  double res = 0, tem;
  for (int i = 0; i < n - 1; i++)
    for (int j = i + 1; j < n; j++) {
      tem = find(i, j);
      if (tem > res) res = tem;
    }
  printf("%.6f", res);
  return 0;
}
