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