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