|
||||||||||
God's BirthdayTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 464 Accepted Submission(s): 85 Problem Description Do you know God's birthday? Stupid Wiskey and Michelle say they didn't knew. Now, Gods want to make a game let them guess the answer. This game is a two-player alternative game and is played as follows: 1.God tell the month to Wiskey, and tell the day to Michelle. 2.There are many dates in a list, Wiskey and Michelle must choose the date from the list. 3.Wiskey guesses first, then Michelle and alternative to reply YES or NO, if he/she konws the answer, he/she will say YES, or he/she will say NO. 4.Who first know God's birthday when is his/her turn and his/her answer is right, he/she is the winner. Your task is telling me who will win, Wiskey or Michelle? Input First line will contain one integer means how many cases will follow by. Each line will contain three integers N, M, D. N represents the number of dates God tell them. (1 <= N <= 365) M, D represent God's birthday is the M-th month, the D-th day. (1 <= M <= 12, 1 <= D <= 31) Output If Wiskey win, print "Wiskey Win". If Michelle wins, print "Michelle Win". Else print "No" if nobody will win the game. Sample Input
Sample Output
Hint In the first case, Wiskey knows the month is 12, and the list have only date 12.25, so Wiskey will win. In the second case, theie are three dates in December, so Wiskey can't decide which one is right, he must say NO. When is Michelle's turn, she knows the day is 25, so she will win. In the third case, nobody will win the game, the answer is "No". In the fourth case, 12.25 and 12.24 are in December, so Wiskey says NO. Michelle thinks if the month is 11, Wiskey must knew the answer, but he said NO, so the month must be 12, so Michelle knows the answer is 12.25. Author Wiskey | ||||||||||
|