Problem: Life and death, win or lose - both have two sides to each other. And that's what Arjit and Chandu Don are fighting about. They are tired of gang-wars between each other, and thus decide to settle like men in a field, of Mathematics.

But even while going to play the game of Mathematics, they have not given up on their tactics of hurting each other. So, Arjit carries a number of rubber bullets with himself, and Chandu Don carries b number of rubber bullets. Since, Little Chandu is a more dangerous gangster of the two, he decides to give the first chance to Arjit. 

The way they’re going to decide who wins the entire land of HEpur is by playing the age-old game of GCD-DCG. The first one to end up with only 1 bullet is going to lose.

This is how the game progresses:

1.  If GCD (a, b) is greater than 1, then, the player can:
        a.) Subtract 1 from opposite player’s bullets.   
        **OR**
        b.) Divide the number of bullets of opposite player by GCD (a, b).
 2. If GCD (a, b) is equal to 1, then, the player can:
      a.) Subtract 1 from the opposite player’s bullets.

Note : Player can choose only one move out of two if GCD(A,B)>1 .
The one who ends up with only one bullet loses the battle, and his life, and the land of HEpur.

Determine who is going to rule, once and for all!

input:
First line contains number of test cases T, next T lines contains two numbers A and B taken by Arjit and Chandu Don respectively.

Output:
Print the name of winner of the game in case of draw print Draw.

Constraints
1 ≤ T ≤ 1000
1 ≤ A ≤ 1000
1 ≤ B ≤ 1000

Problem Statement Credit : Arjit Srivastava.

SAMPLE INPUT
4
2 1
3 4
5 5
1 1

SAMPLE OUTPUT
Arjit
Chandu Don
Arjit
Draw

Solution (in PYTHON):

Solution:
from sys import stdin
from fractions import gcd

# for result memoization
registry = {}

def get_result(a,b):
	if not registry.has_key((a,b)):
		if a== 1:
			registry[(a,b)] = 0
		elif b == 1:
			registry[(a,b)] = 1
		else:
			greatest_div =gcd(a,b) 
			if greatest_div == 1:
				registry[(a,b)] = 1 ^ get_result(b-1,a)
			else:
				res1 = 1^ get_result(b-1, a)
				res2 = 1^ get_result(b/greatest_div,a)
				registry[(a,b)] = res1 | res2
	return registry[(a,b)]

def main():
	num_cases = int(stdin.readline())

	while num_cases > 0:
		arjit, chandu = [int(x) for x in stdin.readline().split()]
		if arjit == 1 and chandu ==1:
			print "Draw" # no other case can have a draw
			num_cases -= 1
			continue
		res = get_result(arjit, chandu)
		if res == 1:
			print "Arjit"
		else:
			print "Chandu Don"
		num_cases -= 1

if __name__ == "__main__":
	main()