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