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