#P1019. [2024 实验室三面] 神秘人T的小马
[2024 实验室三面] 神秘人T的小马
题目描述
本题题解已发表至 讨论区
T has recently become fascinated with "Uma Musume Pretty Derby" (a horse racing game). To train a horse, it is necessary to enhance five attributes: speed, stamina, power, grit, and intelligence.
On this day, T finally managed to raise an exceptionally smart horse. Excitedly, he went to the arena to attempt to improve his class ranking. However, the rules for determining the winner of a match in the arena are complex, so T is unable to directly predict whether his horse will score in the next match.
Since T’s horse is very smart, it only needs to ensure that the sum of its speed , stamina , and power is greater than that of the opponent's horse in order to win the race.
T wants you to help determine if his horse can win the upcoming match against the opponent.
In other words, given two horses (Horse 1 and Horse 2), Horse 1 will win if and only if
输入描述
There are two lines of input.
The first line contains three positive integers, representing T's horse's attributes
The second line contains three positive integers, representing the opponent's horse's attributes
The input guarantees that there will be no ties.
输出描述
If T's horse can win this match, output "Manbo". Otherwise, output "Muri". Note that the output should not include quotation marks.
示例 1
输入
1352 760 710
1035 653 560
输出
Manbo
示例 2
输入
1352 760 710
1448 722 823
输出
Muri