#include <bits/stdc++.h>
using namespace std;
int main() {
  int n;
  scanf("%d", &n);
  string s;
  cin >> s;
  int c_a = 0;
  int c_d = 0;
  for (int i = 0; i < n; i++) {
    if (s[i] == 'A')
      c_a++;
    else
      c_d++;
  }
  if (c_a == c_d)
    printf("Friendship\n");
  else if (c_a > c_d)
    printf("Anton\n");
  else
    printf("Danik\n");
  return 0;
}
