#include <bits/stdc++.h>
using namespace std;
using ll = long long;
int main() {
  ios_base::sync_with_stdio(false);
  cin.tie(NULL);
  ll n;
  cin >> n;
  if (n % 2 == 0) {
    cout << "Mahmoud";
  } else
    cout << "Ehab";
}
