#include <bits/stdc++.h>
using namespace std;
int main() {
  int n;
  cin >> n;
  string s;
  cin >> s;
  int acnt, bcnt;
  acnt = bcnt = 0;
  for (int i = 0; i < n; i++) {
    if (s[i] == 'A')
      acnt++;
    else
      bcnt++;
  }
  if (acnt > bcnt) {
    cout << "Anton" << endl;
  }
  if (bcnt > acnt) {
    cout << "Danik" << endl;
  }
  if (acnt == bcnt) {
    cout << "Friendship" << endl;
  }
}
