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