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