#include <bits/stdc++.h>
using namespace std;
int n;
char s[100010];
int main(void) {
  int a = 0;
  int d = 0;
  cin >> n;
  scanf(" %s ", s);
  for (int i = 0; i < n; i++)
    if (s[i] == 'A')
      a++;
    else
      d++;
  if (a == d)
    cout << "Friendship" << endl;
  else if (a > d)
    cout << "Anton" << endl;
  else
    cout << "Danik" << endl;
  return 0;
}
