• Time limit: 1.00 s
  • Memory limit: 512 MB

Uolevi and Maija love playing golf! There's just something in spending hours walking on a green, well-maintained grass, occasionally hitting a white ball with a club and then continuing the stroll. Now your friends are coming back from yet another golf course when they realize that they don't know which one of them won the game! Can you help your friends to determine this?

A golf course consists of 18 sections called holes. In each hole, the players compete to play the ball from the tee box to the cup in as few strokes as possible. Each hole has also par, a number describing how many strokes an expert is expected to take to complete the hole. For simplicity, we assume here that the par of a hole is determined solely by the distance from the tee box to the cup:

  • If the hole is less than 250 meters, its par is 3.
  • If the hole is at least 250 meters, but less than 470 meters, its par is 4.
  • If the hole is at least 470 meters, but less than 590 meters, its par is 5.
  • Otherwise the par of a hole is 6.

The winner of a golf game is the player who hit the ball the fewest times over all of the 18 holes of the course. However, in a typical golf fashion, Uolevi and Maija have recorded on their scorecard their scores for each hole. A score is the number of strokes a player needed over the par. Note that this number may also be negative, implying that the player used fewer than expected number of strokes for the hole in question.

Input

The input describes the scorecard with recorded scores of Uolevi and Maija. The scorecard consists of three lines, each with 18 numbers.

The first line describes the lengths of the holes, in meters.

The second line describes the scores of Uolevi.

The third line describes the scores of Maija.

The input is formatted into equal-width, right-justified columns. There is at least one space between each column on each row, and possibly a space before the first column.

Output

Output the name of the winner "Uolevi" or "Maija", or "Tie" if they used the same number of strokes.

Constraints

No hole is longer than 1000 meters. The players never used more than 10 strokes per hole.

Example

Input:

 133 249 194 236  50  75 110 249  79  97  68 129  87 127 119 183 129 237
   3   6   2   1   4   3   0   2   6   0  -2   3   4   7   2   2   3   2
  -1   7  -1   5   6   5   7   6   1  -2   4   3   6   6   6   6  -2   6

Output:

Uolevi

Explanation: All holes have par 3. Uolevi played 102 strokes while Maija played 122 strokes.