tc = input();
s = [];


def is_prime(a):
    return all(a % i for i in xrange(2, a))

while tc:
	tc-=1;
#	win = "Arjit";
#
#	s=[2];
	n = input();
	if(n==2):
		print "Arjit";
	else:
		print "Deepa";
	
	
#	for i in range(2,(n/2)+2):
#		if is_prime(i):
#			s.append(i);
#			print i;
#	
#
#	for i in range (0,len(s)):
#		for j in range (i,len(s)):
##			print `s[i]` + `s[j]`; 
#			if( s[i] + s[j] == n ):
#				win = "Deepa";	
#	
#	print win;