#include <bits/stdc++.h>
using namespace std;
int main() {
  string s;
  int n;
  cin >> n >> s;
  int a = count(s.begin(), s.end(), 'A');
  int d = count(s.begin(), s.end(), 'D');
  if (a > d)
    cout << "Anton";
  else if (d > a)
    cout << "Danik";
  else
    cout << "Friendship";
  return 0;
}
