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