#include <bits/stdc++.h>
using namespace std;
int main() {
  ios_base::sync_with_stdio(0);
  cin.tie(0);
  cout.tie(0);
  int t = 1;
  while (t--) {
    int n;
    cin >> n;
    string s;
    cin >> s;
    int a = 0, d = 0;
    for (auto c : s) {
      if (c == 'A')
        a++;
      else
        d++;
    }
    if (a > d)
      cout << "Anton" << endl;
    else if (a < d)
      cout << "Danik" << endl;
    else
      cout << "Friendship" << endl;
  }
  return 0;
}
