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