#include <bits/stdc++.h>
#pragma GCC optimize("O3")
int main() {
  int A = 0, D = 0;
  int n;
  scanf("%d", &n);
  getchar();
  while (n--) {
    int c = getchar();
    if (c == 'A')
      A++;
    else
      D++;
  }
  puts(A > D ? "Anton" : D > A ? "Danik" : "Friendship");
  return 0;
}
