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