#include <bits/stdc++.h>
using namespace std;
int const N = 100 * 1000 + 16;
char w[N];
int main() {
  int n;
  scanf("%d %s", &n, w);
  int x = 0;
  int y = 0;
  for (int i = 0; i < n; ++i)
    if (w[i] == 'A')
      x++;
    else
      y++;
  if (x == y)
    puts("Friendship");
  else
    puts(x > y ? "Anton" : "Danik");
}
