func_code_string: #include <bits/stdc++.h>   using namespace std;   int main() {     ios_base::sync_with_stdio(false);     cin.tie(NULL);     int t;     cin >> t;     while (t--) {       string s;       cin >> s;       int zero = 0, one = 0;       for (char i : s)         if (i ==  0 )           zero++;         else           one++;       if (min(zero, one) % 2 == 1)         cout <<  DA n ;       else         cout <<  NET n ;     }   }   