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