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