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