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

name = raw_input('What is your name?\n')
print 'Hi, %s.' % name
'''
#print 'Hello World!'
n = int(raw_input())
i = 0
while i < n:
	tc = int(raw_input())
	if tc == 2:
		print "Arjit"
	else:
		print "Deepa"
	i += 1