func_code_string: #include <bits/stdc++.h>   using namespace std;   void solve() {     int n;     string s;     cin >> s;     n = s.size();     int z = 0, o = 0;     for (int i = 0; i < n; i++) {       if (s[i] ==  1 )         o++;       else         z++;     }     if (min(o, z) & 1) {       cout <<  DA n ;     } else {       cout <<  NET n ;     }   }   int32_t main() {     ios_base::sync_with_stdio(false);     cin.tie(NULL);     int t;     cin >> t;     while (t--) {       solve();     }     return 0;   }   