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