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