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