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