func_code_string: #include <bits/stdc++.h>   using namespace std;   int a[101][4];   int main() {     int n;     cin >> n;     int min = 0, ind = 0;     for (int i = 0; i < n; i++) cin >> a[i][0] >> a[i][1] >> a[i][2] >> a[i][3];     min = 100000;     ind = 0;     for (int i = 0; i < n; i++) {       bool ust = false;       for (int j = 0; j < n; j++)         if (i != j)           if (a[i][0] < a[j][0] && a[i][1] < a[j][1] && a[i][2] < a[j][2]) {             ust = true;             break;           }       if (!ust)         if (a[i][3] < min) {           min = a[i][3];           ind = i;         }     }     cout << ind + 1 << endl;     return 0;   }   