#include <bits/stdc++.h>
using namespace std;
int main() {
  int num;
  char won[100010];
  int cunt = 0;
  int j = 0;
  cin >> num;
  for (int i = 0; i < num; i++) {
    cin >> won[i];
    if (won[i] == 'A')
      cunt++;
    else if (won[i] == 'D')
      j++;
  }
  if (cunt > j)
    cout << "Anton" << endl;
  else if (cunt < j)
    cout << "Danik" << endl;
  else
    cout << "Friendship" << endl;
  return 0;
}
