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