n = int(input())
s = input()

d = 0

for w in s:
    if w == 'D':
        d += 1
if d > n/2:
    print("Danik")
elif d < n/2:
    print("Anton")
else:
    print("Friendship")

2356c61543449e28edca555c21b897ebbdf232e9
<mask token>

<mask token>
for w in s:
    if w == 'D':
        d += 1
if d > n / 2:
    print('Danik')
elif d < n / 2:
    print('Anton')
else:
    print('Friendship')

n = int(input())
s = input()
d = 0
for w in s:
    if w == 'D':
        d += 1
if d > n / 2:
    print('Danik')
elif d < n / 2:
    print('Anton')
else:
    print('Friendship')

n = int(input())
s = input()

d = 0

for w in s:
    if w == 'D':
        d += 1
if d > n/2:
    print("Danik")
elif d < n/2:
    print("Anton")
else:
    print("Friendship")
