#include <bits/stdc++.h>
using namespace std;
int main() {
  int num;
  char str[210000];
  cin >> num;
  getchar();
  int cnt = 0, dnt = 0;
  gets(str);
  for (int i = 0; i < strlen(str); i++) {
    if (str[i] == 'A')
      cnt++;
    else
      dnt++;
  }
  if (cnt > dnt)
    cout << "Anton" << endl;
  else if (cnt == dnt)
    cout << "Friendship" << endl;
  else
    cout << "Danik" << endl;
  return 0;
}
