func_code_string: #include <bits/stdc++.h>   using namespace std;   int main() {     int n;     cin >> n;     string s;     cin >> s;     int ctra = 0;     int ctrb = 0;     for (int i = 0; i < n; i++) {       if (s[i] ==  A ) {         ctra++;       } else {         ctrb++;       }     }     if (ctra > ctrb) {       cout <<  Anton ;     } else if (ctra < ctrb) {       cout <<  Danik ;     } else {       cout <<  Friendship ;     }     return 0;   }   