#include <bits/stdc++.h>
using namespace std;
int main() {
  set<int> Y;
  string temp;
  int N, T;
  cin >> N >> T;
  for (int i = 0; i < T; i++) {
    int temp;
    cin >> temp;
    Y.insert(temp);
  }
  cin >> T;
  for (int i = 0; i < T; i++) {
    int temp;
    cin >> temp;
    Y.insert(temp);
  }
  vector<int> tempv;
  for (set<int>::iterator it = Y.begin(); it != Y.end(); it++)
    tempv.push_back(*it);
  for (int i = 0; i < N; i++) {
    bool T = false;
    for (int j = 0; j < tempv.size(); j++) {
      if (i + 1 == tempv[j]) {
        T = true;
        break;
      }
    }
    if (T == false) {
      cout << "Oh, my keyboard!" << endl;
      return 0;
    }
  }
  cout << "I become the guy." << endl;
  return 0;
}
