#include <bits/stdc++.h>
using namespace std;
int main() {
  int n, p, q;
  cin >> n;
  vector<int> v;
  cin >> p;
  for (int i = 0; i < p; i++) {
    int x;
    cin >> x;
    v.push_back(x);
  }
  cin >> q;
  for (int j = 0; j < q; j++) {
    int y;
    cin >> y;
    v.push_back(y);
  }
  for (int i = 1; i <= n; i++) {
    if (find(v.begin(), v.end(), i) == v.end()) {
      cout << "Oh, my keyboard!";
      return 0;
    }
  }
  cout << "I become the guy.";
  return 0;
}
