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