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

name = raw_input('What is your name?\n')
print 'Hi, %s.' % name
'''
def prime ():
	for tc in xrange (input ()):
		n = raw_input ()
		if n == '2':
			print 'Arjit'
		else:
			print 'Deepa'
if __name__ == "__main__":
	prime ()