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