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