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