#include <bits/stdc++.h>
using namespace std;
int main() {
  string s;
  int n;
  cin >> n >> s;
  int i = 0, x = 0, x1 = 0;
  while (s[i] != '\0') {
    if (s[i] == 'A')
      x++;
    else if (s[i] == 'D')
      x1++;
    i++;
  }
  if (x > x1)
    cout << "Anton\n";
  else if (x < x1)
    cout << "Danik\n";
  else
    cout << "Friendship\n";
  return 0;
}
