#include <bits/stdc++.h>
using namespace std;
void open() {}
string win(int n, int m) {
  if (min(n, m) % 2 == 0) {
    return "Malvika";
  }
  return "Akshat";
}
int main() {
  open();
  int n, p, x;
  cin >> n;
  vector<bool> fl(n, false);
  cin >> p;
  for (int i = 0; i < p; ++i) {
    cin >> x;
    fl[x - 1] = true;
  }
  cin >> p;
  for (int i = 0; i < p; ++i) {
    cin >> x;
    fl[x - 1] = true;
  }
  bool flag = true;
  for (int i = 0; i < n; ++i) {
    if (!fl[i]) {
      flag = false;
      break;
    }
  }
  if (flag) {
    cout << "I become the guy.";
  } else {
    cout << "Oh, my keyboard!";
  }
  return 0;
}
