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