#include <bits/stdc++.h>
long long cnt;
using namespace std;
void solve() {
  long long n;
  cin >> n;
  string s;
  cin >> s;
  long long a, d;
  a = d = 0;
  for (auto x : s) {
    if (x == 'A')
      a++;
    else
      d++;
  }
  if (a == d)
    cout << "Friendship"
         << "\n";
  else
    cout << (a > d ? "Anton" : "Danik") << "\n";
}
int main() {
  ios_base::sync_with_stdio(false);
  cin.tie(0);
  solve();
}
