func_code_string: #include <bits/stdc++.h>   using namespace std;   using namespace std;   const long long MOD = 1e9 + 7;   const int INF = 1e9;   template <class T>   inline T gcd(T a, T b) {     if (a < 0) return gcd(-a, b);     if (b < 0) return gcd(a, -b);     return (b == 0) ? a : gcd(b, a % b);   }   template <class T>   inline T lcm(T a, T b) {     if (a < 0) return lcm(-a, b);     if (b < 0) return lcm(a, -b);     return a * (b / gcd(a, b));   }   int a, b;   int main() {     ios::sync_with_stdio(0);     cin.tie(0);     cin >> a >> b;     int t = gcd(a, b);     a /= t;     b /= t;     if (abs(a - b) <= 1) return puts( Equal );     puts(a < b ?  Dasha  :  Masha );     return 0;   }   