Codeforces Round 285 (Div. 2)
A
Contest
Codeforces
900
原题
←B →
翻译中…

Misha and Vasya participated in a Codeforces contest. Unfortunately, each of them solved only one problem, though successfully submitted it at the first attempt. Misha solved the problem that costs $*a*$ points and Vasya solved the problem that costs $*b*$ points. Besides, Misha submitted the problem $*c*$ minutes after the contest started and Vasya submitted the problem $*d*$ minutes after the contest started. As you know, on Codeforces the cost of a problem reduces as a round continues. That is, if you submit a problem that costs $*p*$ points $*t*$ minutes after the contest started, you get image points.

翻译中…

Misha and Vasya are having an argument trying to find out who got more points. Help them to find out the truth.

翻译中…

Input

翻译中…

The first line contains four integers $*a*$, $*b*$, $*c*$, $*d*$ ($250 ≤ *a*, *b* ≤ 3500$, $0 ≤ *c*, *d* ≤ 180$).

翻译中…

It is guaranteed that numbers $*a*$ and $*b*$ are divisible by $250$ (just like on any real Codeforces round).

翻译中…

Output

翻译中…

Output on a single line:

翻译中…

"Misha" (without the quotes), if Misha got more points than Vasya.

翻译中…

"Vasya" (without the quotes), if Vasya got more points than Misha.

翻译中…

"Tie" (without the quotes), if both of them got the same number of points.

翻译中…

样例

Input #1
500 1000 20 30
Output #1
Vasya
InputCopy OutputCopy
Input #2
1000 1000 1 1
Output #2
Tie
InputCopy OutputCopy
Input #3
1500 1000 176 177
Output #3
Misha
InputCopy OutputCopy
题目信息
题号
501A
时间限制
1 s
内存限制
256 MB
标签
模拟

题面与样例版权归 Codeforces 及出题人所有;中文翻译由 AI 生成(CI 管线),如有出入请以原文为准。