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