#include <bits/stdc++.h>
using namespace std;
long long x[100001], y[100001];
int main() {
  ios::sync_with_stdio(false);
  long long i, j, k, n, d, dis, ind1, ind2, sx, sy;
  long double m, m1;
  cin >> n;
  for (i = 0; i < n; i++) {
    cin >> x[i] >> y[i];
  }
  dis = LLONG_MAX;
  for (i = 1; i < n; i++) {
    d = (x[i] - x[0]) * (x[i] - x[0]) + (y[i] - y[0]) * (y[i] - y[0]);
    if (d < dis) {
      dis = d;
      ind1 = i + 1;
      sx = (x[i] - x[0]);
      sy = (y[i] - y[0]);
      if (sy == 0)
        m = 1000000000000.00;
      else
        m = (sy * 1.0) / sx;
    }
  }
  dis = LLONG_MAX;
  for (i = 1; i < n; i++) {
    if (i == ind1 - 1) continue;
    d = (x[i] - x[0]) * (x[i] - x[0]) + (y[i] - y[0]) * (y[i] - y[0]);
    sx = (x[i] - x[0]);
    sy = (y[i] - y[0]);
    if (sy == 0)
      m1 = 1000000000000.00;
    else
      m1 = (sy * 1.0) / sx;
    if (d < dis && m != m1) {
      dis = d;
      ind2 = i + 1;
    }
  }
  cout << 1 << " " << ind1 << " " << ind2;
}
