#include <bits/stdc++.h>
using namespace std;
int main() {
  int counterA = 0, counterD = 0;
  int n;
  char m;
  cin >> n;
  char amjad[100];
  for (int i = 0; i < n; i++) {
    cin >> m;
    amjad[i] = m;
    if (amjad[i] == 'A') {
      counterA++;
    } else if (amjad[i] == 'D') {
      counterD++;
    }
  }
  if (counterA > counterD) {
    cout << "Anton" << endl;
  } else if (counterA < counterD) {
    cout << "Danik" << endl;
  } else {
    cout << "Friendship" << endl;
    ;
  }
}
