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