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