#include <bits/stdc++.h>
using namespace std;
const long long NMAX = 1e5 + 5, INF = 1e9 + 9;
int main() {
  long long n;
  cin >> n;
  if (n % 2 == 0)
    cout << "Mahmoud";
  else
    cout << "Ehab";
}
