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