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