#include <bits/stdc++.h>
using namespace std;
int main() {
  int n, p, q, count = 0;
  cin >> n;
  cin >> p;
  int x[p];
  for (int i = 0; i < p; i++) cin >> x[i];
  cin >> q;
  if (p == 0 && q == 0) {
    cout << "Oh, my keyboard!";
    exit(0);
  }
  int y[q];
  int z[p + q];
  for (int i = 0; i < q; i++) cin >> y[i];
  for (int i = 0; i < p; i++) z[i] = x[i];
  for (int j = 0; j < q; j++) z[p + j] = y[j];
  sort(z, z + p + q);
  for (int i = 0; i < (p + q - 1); i++) {
    if (z[i] != z[i + 1]) count++;
  }
  if ((count + 1) == n)
    cout << "I become the guy.";
  else
    cout << "Oh, my keyboard!";
  return 0;
}
