#include <bits/stdc++.h>
int main() {
  int n, p, q, i, j, c[4] = {0}, x = 0;
  scanf("%d%d", &n, &p);
  int a[p];
  for (i = 0; i < (p); i++) {
    scanf("%d", &a[i]);
  }
  scanf("%d", &q);
  int b[p + q], d[n];
  for (; i < (q + p); i++) {
    scanf("%d", &b[i]);
  }
  for (j = 0; j < p; j++) {
    b[j] = a[j];
  }
  for (i = 0; i < n; i++) {
    d[i] = i + 1;
  }
  for (i = 0; i < (p + q); i++) {
    for (j = 0; j < n; j++) {
      if (b[i] == d[j]) {
        x++;
        d[j] = 0;
      }
    }
  }
  if (x == n) {
    printf("I become the guy.");
  } else
    printf("Oh, my keyboard!");
  return 0;
}
