#include <bits/stdc++.h>
using namespace std;
int a, b, c, d, l, k, m, n, i;
string s;
int main() {
  cin >> n >> s;
  for (i = 0; i < n; i++) {
    if (s[i] == 'A') c++;
    if (s[i] == 'D') k++;
  }
  if (c > k) cout << "Anton";
  if (k > c) cout << "Danik";
  if (k == c) cout << "Friendship";
}
