func_code_string: #include <bits/stdc++.h>   using namespace std;   map<long long, long long> frequency(vector<long long> v) {     map<long long, long long> m;     for (long long i = 0; i < v.size(); i++) {       if (m.find(v[i]) != m.end())         m[v[i]]++;       else {         m.insert({v[i], 1});       }     }     return m;   }   void input(vector<long long>& v, long long n) {     for (long long i = 0; i < (long long)(n); i++) {       long long in;       cin >> in;       v.push_back(in);     }   }   void output(vector<long long> v) {     for (long long i = 0; i < (long long)(v.size()); i++) cout << v[i] <<    ;   }   void solve() {     long long a, b, c, d;     cin >> a >> b >> c >> d;     long long m = max((3 * a) / 10, a - (a / 250) * c);     long long v = max((3 * b) / 10, b - (b / 250) * d);     if (m > v) {       cout <<  Misha  << endl;     } else if (v > m) {       cout <<  Vasya  << endl;     } else {       cout <<  Tie  << endl;     }   }   int main() {     ios_base::sync_with_stdio(false);     cin.tie(NULL);     cout.tie(NULL);     solve();     return 0;   }   