'''
# Read input from stdin and provide input before running code

name = raw_input('What is your name?\n')
print 'Hi, %s.' % name
'''
n = int(raw_input())
for i in range(n):
	if(int(raw_input())==2):
		print "Arjit"
	else:
		print "Deepa"