#include <bits/stdc++.h>
using namespace std;
int main(void) {
  int n;
  scanf("%d\n", &n);
  int a = 0, d = 0;
  for (int i = 0; i < n; i++) {
    char c;
    scanf("%c", &c);
    c == 'A' ? a++ : d++;
  }
  printf(a > d ? "Anton" : (a < d ? "Danik" : "Friendship"));
  printf("\n");
  return 0;
}
