#include <bits/stdc++.h>
using namespace std;
void run() {
  int n;
  cin >> n;
  string s;
  cin >> s;
  int a(0), d(0), x((n + 1) / 2);
  for (int i = 0; i < s.size(); i++) {
    if (s[i] == 'A')
      a++;
    else
      d++;
    if (a > x || d > x) {
      if (a > d)
        cout << "Anton" << endl;
      else
        cout << "Danik" << endl;
      return;
    }
  }
  if (a > d)
    cout << "Anton" << endl;
  else if (d > a)
    cout << "Danik" << endl;
  else
    cout << "Friendship" << endl;
}
int main() {
  ios_base::sync_with_stdio(false);
  cin.tie(0);
  run();
  return 0;
}
