#include <bits/stdc++.h>
using namespace std;
int main() {
  ios_base ::sync_with_stdio(false);
  ;
  int n, cnt1 = 0, cnt2 = 0;
  string s;
  cin >> n;
  cin >> s;
  for (int i = 0; i < n; i++) {
    if (s[i] == 'A')
      cnt1++;
    else
      cnt2++;
  }
  if (cnt1 > cnt2)
    cout << "Anton" << endl;
  else if (cnt2 > cnt1)
    cout << "Danik" << endl;
  else
    cout << "Friendship" << endl;
  return 0;
}
