#include<bits/stdc++.h>
using namespace std;
int main(){
int n;
string s;
cin>>n>>s;
int c1=0;
int c2=0;
for(int i=0;i<s.length();i++){
if(s[i]=='A'){
c1++;
}
else
c2++;
}
if(c1>c2)
printf("Anton\n");
else if(c1==c2)
printf("Friendship\n");
else
printf("Danik\n");
}