#include <bits/stdc++.h>   using namespace std;   int main() {     int n;     cin >> n;     int score = 0;     string str;     cin >> str;     for (int j = 0; j < str.size(); ++j) {       if (str[j] ==  A ) score += 1;       if (str[j] ==  D ) {         score -= 1;       }     }     if (score > 0) cout <<  Anton ;     if (score < 0) cout <<  Danik ;     if (score == 0) cout <<  Friendship ;     return 0;   }   