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