#include <bits/stdc++.h>
using namespace std;
int main() {
  int num;
  scanf("%d", &num);
  getchar();
  string str;
  getline(cin, str);
  int l = str.size();
  int cnt = 0;
  for (int i = 0; i < l; i++) {
    if (str[i] == 'A') {
      cnt++;
    }
  }
  cnt > l - cnt    ? printf("Anton")
  : cnt == l - cnt ? printf("Friendship")
                   : printf("Danik");
  printf("\n");
  return 0;
}
