#include <bits/stdc++.h>
int main() {
  int n, p, q, p1[150], q1[150], pq[300], i, j, k, l, m;
  scanf("%d", &n);
  scanf("%d", &p);
  for (i = 0; i < p; i++) {
    scanf("%d", &p1[i]);
  }
  scanf("%d", &q);
  for (j = 0; j < q; j++) {
    scanf("%d", &q1[j]);
  }
  if ((p == 0) && (q == 0)) {
    printf("Oh, my keyboard!\n");
    return 0;
  } else {
    for (k = 0; k < (p + q); k++) {
      if (k < p) {
        pq[k] = p1[k];
      } else {
        pq[k] = q1[k - p];
      }
    }
    for (l = 1; l <= n; l++) {
      for (m = 0; m < p + q; m++) {
        if (pq[m] == l) {
          break;
        } else if (m == (p + q - 1)) {
          printf("Oh, my keyboard!\n");
          return 0;
        }
      }
    }
    printf("I become the guy.\n");
  }
  return 0;
}
