#include <bits/stdc++.h>
using namespace std;
int main() {
  int a = 0;
  cin >> a;
  int z = 0, e = 0;
  char b;
  for (int i = 0; i < a; i++) {
    cin >> b;
    if (b == 'D') z++;
    if (b == 'A') e++;
  }
  if (e == z)
    cout << "Friendship";
  else if (e < z)
    cout << "Danik";
  else if (e > z)
    cout << "Anton";
}
