func_code_string: #include <bits/stdc++.h>   using namespace std;   int v, m, d, f;   int main() {     int n, a, b, c;     cin >> n;     for (int i = 0; i < n; i++) {       cin >> a >> b >> c;       if (a == 1) {         v += b;         m += c;       } else {         d += b;         f += c;       }     }     if (v >= m)       cout <<  LIVE  <<   n ;     else       cout <<  DEAD  <<   n ;     if (d >= f)       cout <<  LIVE  <<   n ;     else       cout <<  DEAD  <<   n ;     return 0;   }   