There are nn logs, the ii-th log has a length of aiai meters. Since chopping logs is tiring work, errorgorn and maomao90 have decided to play a game.
errorgorn and maomao90 will take turns chopping the logs with errorgorn chopping first. On his turn, the pla
The pla
Each test contains multiple test cases. The first line contains a single integer tt (1≤t≤1001≤t≤100) — the number of test cases. The desc
The first line of each test case contains a single integer nn (1≤n≤501≤n≤50) — the number of logs.
The second line of each test case contains nn integers a1,a2,…,ana1,a2,…,an (1≤ai≤501≤ai≤50) — the lengths of the logs.
Note that there is no bound on the sum of nn over all test cases.
For each test case, print "errorgorn" if errorgorn wins or "maomao90" if maomao90 wins. (Output without quotes).
2
4
2 4 2 1
1
1
errorgorn
maomao90