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