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