#include <bits/stdc++.h>
using namespace std;
int rounds, A, D;
char input;
int main() {
  std::cin >> rounds;
  for (int i = 0; i < rounds; i++) {
    std::cin >> input;
    if (input == 'A')
      A++;
    else
      D++;
  }
  if (A > D)
    std::cout << "Anton" << '\n';
  else if (A < D)
    std::cout << "Danik" << '\n';
  else
    std::cout << "Friendship" << '\n';
}
