#include <bits/stdc++.h>
using namespace std;
int prime(long n) {
  long k, d;
  if (n % 2 == 0 && n > 2) return 0;
  d = sqrt(n);
  for (k = 3; k <= d; k = k + 2) {
    if (n % k == 0) return 0;
  }
  return 1;
}
int main() {
  ios_base::sync_with_stdio(0);
  long i, k, n;
  string s;
  while (cin >> n >> s) {
    long a = 0, d = 0;
    for (i = 0; i < n; i++) {
      if (s[i] == 'A')
        a++;
      else
        d++;
    }
    if (a > d)
      cout << "Anton" << endl;
    else if (a < d)
      cout << "Danik" << endl;
    else
      cout << "Friendship" << endl;
  }
  return 0;
}
