#include <bits/stdc++.h>
#pragma comment(linker, "/STACK:160777216")
using namespace std;
int n, i, j, k, m;
long long x[1000000], y[1000000];
long long labs(long long x) {
  if (x < 0) return -x;
  return x;
}
long long area(int i, int j, int k) {
  long long ret = x[i] * y[j] + x[j] * y[k] + x[k] * y[i] - y[i] * x[j] -
                  y[j] * x[k] - y[k] * x[i];
  return labs(ret);
}
long long dis(int i, int j) {
  return (x[i] - x[j]) * (x[i] - x[j]) + (y[i] - y[j]) * (y[i] - y[j]);
}
int main() {
  cin >> n;
  for (i = 0; i < n; i++) {
    cin >> x[i] >> y[i];
  }
  int nom = 1;
  for (i = 1; i < n; i++) {
    if (dis(0, i) < dis(0, nom)) nom = i;
  }
  long long ans = 0, nom1 = 0;
  for (i = 1; i < n; i++) {
    if (i == nom) continue;
    long long cur = area(0, nom, i);
    if (ans == 0) {
      ans = cur;
      nom1 = i;
    } else if (cur != 0 && cur < ans) {
      ans = cur;
      nom1 = i;
    }
  }
  cout << 1 << " " << nom + 1 << " " << nom1 + 1 << endl;
  return 0;
}
