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