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