#include <bits/stdc++.h>
using namespace std;
int main() {
  int n, c = 0;
  char s;
  cin >> n;
  for (int i = 0; i < n; i++) {
    cin >> s;
    c += (s == 'A') ? 1 : -1;
  }
  if (c > 0)
    cout << "Anton";
  else if (c < 0)
    cout << "Danik";
  else
    cout << "Friendship";
}
