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