#include <bits/stdc++.h>
using namespace std;
int main() {
  int n;
  cin >> n;
  bool A[n + 1];
  memset(A, false, sizeof(A));
  int c = 0;
  int p;
  cin >> p;
  for (int i = 1; i <= p; i++) {
    int a;
    cin >> a;
    if (!A[a]) {
      A[a] = true;
      c++;
    }
  }
  cin >> p;
  for (int i = 1; i <= p; i++) {
    int a;
    cin >> a;
    if (!A[a]) {
      A[a] = true;
      c++;
    }
  }
  if (c == n) {
    cout << "I become the guy." << endl;
  } else {
    cout << "Oh, my keyboard!" << endl;
  }
}
