#include <bits/stdc++.h>
using namespace std;
int main() {
  long long int n, A, D;
  int i;
  ;
  cin >> n;
  string s;
  cin >> s;
  A = 0;
  D = 0;
  for (i = 0; s[i] != 0; i++) {
    if (s[i] == 65) {
      A++;
    } else if (s[i] == 68) {
      D++;
    }
  }
  if (A > D) {
    cout << "Anton";
  } else if (A < D) {
    cout << "Danik";
  } else {
    cout << "Friendship";
  }
  return 0;
}
