#include <bits/stdc++.h>
int main() {
  int n, c1 = 0, c2 = 0, i;
  scanf("%d", &n);
  getchar();
  char w[n];
  gets(w);
  for (i = 0; i < n; i++) {
    if (w[i] == 'A')
      c1 = c1 + 1;
    else
      c2 = c2 + 1;
  }
  if (c1 > c2)
    printf("Anton");
  else if (c1 < c2)
    printf("Danik");
  else
    printf("Friendship");
}
