#include <bits/stdc++.h>
int main() {
  setvbuf(stdout, 0, _IONBF, 0);
  setvbuf(stdin, 0, _IONBF, 0);
  unsigned int countAnton = 0, countDanial = 0, numberOfPlays, i;
  unsigned char ch;
  scanf("%u", &numberOfPlays);
  for (i = 1; i <= 2 * numberOfPlays; i++) {
    scanf("%c", &ch);
    if (ch == 'D') {
      countDanial++;
    } else if (ch == 'A') {
      countAnton++;
    }
  }
  if (countAnton > countDanial) {
    printf("%s", "Anton");
  } else if (countDanial > countAnton) {
    printf("%s", "Danik");
  } else {
    printf("%s", "Friendship");
  }
  return 0;
}
