#include <bits/stdc++.h>
using namespace std;
int main() {
  long long n;
  string str;
  cin >> n;
  cin >> str;
  int a = 0, d = 0;
  for (size_t i = 0; i < n; i++) (str[i] == 'A') ? a++ : d++;
  (a >= d) ? (a == d) ? cout << "Friendship" : cout << "Anton"
           : cout << "Danik";
  return 0;
}
