#include <bits/stdc++.h>
using namespace std;
const int MAXN = 5e3 + 3;
int main() {
  string p;
  int k;
  scanf("%d", &k);
  cin >> p;
  long long a = 0, b = 0;
  for (int i = (int)0; i < (int)p.size(); i++) {
    if (p[i] == 'A')
      a++;
    else
      b++;
  }
  if (a == b)
    cout << "Friendship";
  else if (a > b)
    cout << "Anton";
  else
    cout << "Danik";
}
