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