#include <bits/stdc++.h>
using namespace std;
int main() {
  int n, a = 0, d = 0;
  cin >> n;
  while (n--) {
    char c;
    cin >> c;
    if (c == 'A') a++;
    if (c == 'D') d++;
  }
  if (a > d)
    cout << "Anton"
         << "\n";
  else if (a < d)
    cout << "Danik"
         << "\n";
  else
    cout << "Friendship"
         << "\n";
  return 0;
}
