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