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

name = raw_input('What is your name?\n')
print 'Hi, %s.' % name
'''
# Goldbach conjecture, Every even number greater than 2 can be expressed as sum of 2 primes.

t = int(raw_input())
while t > 0:
		t = t - 1
		cake_weight = int(raw_input())
		if cake_weight != 2:
			print "Deepa"
		else:
			print "Arjit"