#include <bits/stdc++.h>
using namespace std;
int a, b, c, d, e, cnt = 0, snt = 0;
string s, n;
char u;
int main() {
  cin >> a;
  if (a % 2 == 0) {
    cout << "Mahmoud";
  } else {
    cout << "Ehab";
  }
}
