func_code_string: #include <bits/stdc++.h>   using namespace std;   int n;   int a[1001], b[1001], c[1001], d[1001];   void solve() {     cin >> n;     int r = 1;     int i = 1;     cin >> a[i] >> b[i] >> c[i] >> d[i];     int sum = a[1] + b[1] + c[1] + d[1];     for (int i = 2; i <= n; i++) {       cin >> a[i] >> b[i] >> c[i] >> d[i];       int sum1 = a[i] + b[i] + c[i] + d[i];       if (sum1 > sum) {         r += 1;       }     }     cout << r;   }   int main() {     ios_base::sync_with_stdio(false);     cin.tie(NULL);     if (fopen( input.txt ,  r )) {       freopen( input.txt ,  r , stdin);       freopen( output.txt ,  w , stdout);     }     int t = 1;     while (t--) {       solve();     }   }   