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