#include <bits/stdc++.h>
using namespace std;
string toStr(long long n) {
  stringstream ss;
  ss << n;
  return ss.str();
}
int toNum(string s) {
  stringstream ss;
  long long n;
  ss << s;
  ss >> n;
  return n;
}
int main() {
  int n;
  cin >> n;
  int x[n], y[n];
  for (int i = 0; i < n; i++) cin >> x[i] >> y[i];
  int ans = 0;
  for (int i = 0; i < n; i++) {
    for (int j = i + 1; j < n; j++) {
      int ax = x[i] - x[j];
      int ay = y[i] - y[j];
      int a1 = -1e9;
      int a2 = 1e9;
      for (int k = 0; k < n; k++) {
        if (k != i && k != j) {
          int bx = x[k] - x[j];
          int by = y[k] - y[j];
          int pv = ax * by - bx * ay;
          if (pv >= 0) a1 = max(a1, pv);
          if (pv <= 0) a2 = min(a2, pv);
        }
        ans = max(ans, a1 - a2);
      }
    }
  }
  cout.precision(9);
  cout << (double)ans / 2;
  return 0;
}
