#include <bits/stdc++.h>
using namespace std;
int main() {
  string games;
  cin >> games >> games;
  int acount = 0, dcount = 0;
  for (int i = 0; i < games.length(); i++) {
    if (games.at(i) == 'A')
      acount++;
    else
      dcount++;
  }
  cout << (acount == dcount ? "Friendship"
                            : (acount > dcount ? "Anton" : "Danik"));
  return 0;
}
