CSES - Aalto Competitive Programming 2024 - wk3 - Wed - Yet another game
  • Time limit: 1.00 s
  • Memory limit: 512 MB

Uolevi and Maija are playing yet another board game. The board is just one long line of squares, with a finishing square at one end of the line. The game also has n pieces numbered 1,2,\dots,n, the i-th of which lies a_i squares away from the finishing square. The players take turns in moving one of the pieces one square toward the finishing square. The pieces can not overlap. The player who is unable to make a move first loses. Determine the winner if Maija goes first and both players play optimally.

Input

The first line contains one integer, n. The second line contains n integers a_1,\,a_2,\dots,\,a_n.

Output

Print the name of the winner in this game.

Constraints

  • 1 \leq n \leq 10^5
  • 0 \leq a_i \leq 10^9
  • a_i \neq a_j if i \neq j

Example 1

Input:

1
0

Output:

Uolevi

Example 2

Input:

1
1

Output:

Maija

Example 3

Input:

3
1 2 4

Output:

Uolevi

Example 4

Input:

10
0 12 17 18 20 4 5 7 8 11

Output:

Maija