#include <bits/stdc++.h>
using namespace std;
int main() {
  int T, a = 0, v = 0;
  cin >> T;
  while (T--) {
    char s;
    cin >> s;
    if (s == 'A')
      a += 1;
    else
      v += 1;
  }
  if (a == v) cout << "Friendship";
  if (a > v) cout << "Anton";
  if (a < v) cout << "Danik";
  return 0;
}
