#include <bits/stdc++.h>
int main() {
  int a, b = 0, c = 0;
  std::string d;
  std::cin >> a >> d;
  for (int i = 0; i < d.length(); i++) {
    if (d[i] == 'A')
      b++;
    else
      c++;
  }
  if (b > c)
    std::cout << "Anton";
  else if (c > b)
    std::cout << "Danik";
  else
    std::cout << "Friendship";
  return 0;
}
