func_code_string: #include <bits/stdc++.h>   using namespace std;   int main() {     int n, i, nu, ul, ka, c1ul, c1ka, c2ul, c2ka;     cin >> n;     c1ul = c1ka = c2ul = c2ka = 0;     for (i = 0; i < n; i++) {       cin >> nu >> ul >> ka;       if (nu == 1) {         c1ul += ul;         c1ka += ka;       } else {         c2ul += ul;         c2ka += ka;       }     }     if (c1ul >= (c1ul + c1ka) / 2) {       cout <<  LIVE  << endl;     } else {       cout <<  DEAD  << endl;     }     if (c2ul >= (c2ul + c2ka) / 2) {       cout <<  LIVE  << endl;     } else {       cout <<  DEAD  << endl;     }     return 0;   }   