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