#include <bits/stdc++.h>
using namespace std;
int main() {
  int i, j, n, temp1 = 0, temp2 = 0;
  cin >> n;
  char s[n];
  cin >> s;
  for (i = 0; i < n; i++) {
    if (s[i] == 'A') {
      temp1++;
    } else if (s[i] == 'D') {
      temp2++;
    }
  }
  if (temp1 > temp2) {
    printf("Anton");
  } else if (temp1 < temp2) {
    printf("Danik");
  } else if (temp1 = temp2) {
    printf("Friendship");
  }
  return 0;
}
