#include <bits/stdc++.h>
using namespace std;
const double eps = 1e-10;
const double PI = 3.1415926535897932384626433832795;
const double eln = 2.718281828459045235360287471352;
template <typename _T>
_T gcd(_T _a, _T _b) {
  return __gcd(_a, _b);
}
template <typename _T>
_T lcm(_T _a, _T _b) {
  return _a * _b / gcd(_a, _b);
}
string itos(long long _n, int _r) {
  string _a;
  while (_n > 0) {
    _a = (char)(_n % _r + '0') + _a;
    _n /= _r;
  }
  return _a;
}
template <typename _T>
long long PM(_T _x, _T _y, _T _m) {
  long long _s = 1;
  for (_x %= _m; _y; _y >>= 1, _x = _x * _x % _m)
    if (_y & 1) _s = _s * _x % _m;
  return _s;
}
int main(int argc, char* argv[]) {
  ios_base::sync_with_stdio(false);
  cin.tie(NULL);
  int n;
  cin >> n;
  string s;
  cin >> s;
  int a = 0, d = 0;
  for (register typeof(n) i = 0; i < n; i++)
    if (s[i] == 'A')
      a++;
    else
      d++;
  if (a > d)
    cout << "Anton" << endl;
  else if (d > a)
    cout << "Danik" << endl;
  else
    cout << "Friendship" << endl;
  return 0;
}
