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