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