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