Old Wives' Game

Limits 1s, 256 MB

Kadambari wants to test the brains of the new bride Mrinalini. So she proposed the infamous Old Wives’ Game.

In the game, there are nn containers, each filled to the brim with different liquors. ii’th container has viv_i units of liquor in it. There are also cups of different volumes available. Two players take turns. A player in her turn —

The player who cannot choose a non-empty container in her turn loses.

Kadambari has allowed Mrinalini to go first. Rabindranath Tagore is anxiously observing the game. Can you predict who will win if the wives play optimally?

Input

The first line consists of an integer TT denoting the number of test cases. For each test case —

It is guaranteed that —

Output

For each test case, output “Mrinalini” without quotes if Mrinalini wins. Otherwise, if Kadambari wins, output “Kadambari”.

Sample

InputOutput
2
3
2 5 12
2
6 9
Kadambari
Mrinalini

Sample I/O Explanation

Probable gameplay in the first test case —