func_code_string: #include <bits/stdc++.h>   using namespace std;   int main() {     int n, j, t, k, x, y;     scanf( %d , &t);     int a[10] = {0}, b[10] = {0};     for (j = 0; j < t; j++) {       scanf( %d%d%d , &k, &x, &y);       if (k == 1) {         a[0] = a[0] + x;         a[1] = a[1] + y;       } else {         b[0] = b[0] + x;         b[1] = b[1] + y;       }     }     if (a[0] >= a[1])       printf( LIVE n );     else       printf( DEAD n );     if (b[0] >= b[1])       printf( LIVE n );     else       printf( DEAD n );     return 0;   }   