#include <bits/stdc++.h>
using namespace std;
int main() {
  long long int n;
  cin >> n;
  string s;
  cin >> s;
  long long int Danik = 0;
  long long int anton = 0;
  for (long long int i = 0; i < n; i++) {
    if (s[i] == 'D') {
      Danik++;
    } else {
      anton++;
    }
  }
  if (Danik == anton) {
    cout << "Friendship";
  } else if (Danik > anton) {
    cout << "Danik";
  } else {
    cout << "Anton";
  }
  return 0;
}
