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