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

name = raw_input('What is your name?\n')
print 'Hi, %s.' % name
'''
tc = int(raw_input())

for step in xrange(tc):
	w = int(raw_input())
	
	if w == 2:
		print 'Arjit'
	else:
		print 'Deepa'