NOVICE51  A Simple Game
Akash and Aayush play the following number game. First they choose a number N (1<=N<=1000000000). Then both of them take their turn one by one. In a turn player has to subtract 1 from the number if it is odd or divide the number by 2 if it is even. Game end when the number becomes zero. Aayush has a dominating nature So he always play first. Help them in finding out who will win the game.
Input
First line contains T, the number of test cases. Following T lines contain 1 integer each, the value of N.
Output
For each test case print "Aayush" if Aayush wins else print "Akash".
Example
Input: 2 468 7547 Output: Aayush Akash
hide comments
bavly morcos:
20130323 20:26:48
http://ideone.com/Dkxfeb i want to know what is wrong in that code? 

Mohamed Mahmoud:
20121120 21:17:53
Last edit: 20121120 23:31:10 

ammar :
20121114 19:35:33
will i use a loop in that code ?? 

mohamed nabil mohamed:
20121114 00:17:16
any other test cases!!!!! 

sara negm:
20120703 16:10:12
notice that each of aayush and akash will play together for the same number, so that any of them will divide or subtract according to his turn 

multisystem:
20120324 14:10:33
Although there is a constraint stating that 1<=N<=1000000000, there is a test case with N=0, and its correct output is "Akash" !!!! 

Gandaro:
20120316 18:36:40
You should add the information that the player wins who subtracts or divides last. 
Added by:  Mahesh Chandra Sharma 
Date:  20110325 
Time limit:  0.615s 
Source limit:  50000B 
Memory limit:  1536MB 
Cluster:  Cube (Intel G860) 
Languages:  All except: ASM64 
Resource:  Own problem 