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