#include <bits/stdc++.h>
using namespace std;
int main() {
  int s, a, d;
  a = 0;
  d = 0;
  scanf("%d", &s);
  char *str = new char[s + 1];
  for (int i = 0; i <= s; i++) scanf("%c", &str[i]);
  for (int i = 0; i <= s; i++) {
    if (str[i] == 'A') a++;
    if (str[i] == 'D')
      d++;
    else
      continue;
  }
  if (a == d)
    printf("Friendship");
  else if (a > d)
    printf("Anton");
  else
    printf("Danik");
  return 0;
}
