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