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