#include <bits/stdc++.h>
int main() {
  int n, a = 0, d = 0;
  scanf("%i", &n);
  char p[100001];
  scanf("%s", p);
  for (int i = 0; i < n; i++) {
    if (p[i] == 'A') {
      a++;
    } else {
      d++;
    }
  }
  if (a == d) {
    printf("Friendship");
    return 0;
  }
  if (a > d) {
    printf("Anton");
  } else {
    printf("Danik");
  }
  return 0;
};
