#include <bits/stdc++.h>
int n, A, D, T;
using namespace std;
string s;
int main() {
  scanf("%d", &n);
  cin >> s;
  for (int i = 0; i < n; i++) {
    if (s[i] == 'A') {
      A++;
    } else {
      D++;
    }
  }
  if (A > D) {
    printf("Anton");
  } else if (D > A) {
    printf("Danik");
  } else {
    printf("Friendship");
  }
}
