#include <bits/stdc++.h>
int x[100], i;
int main(int f) {
  int t, z, p;
  scanf("%d%d", &t, &p);
  for (i; i < p; i++) {
    scanf("%d", &z);
    x[z] = 1;
  }
  scanf("%d", &z);
  for (i = 0; i < z; i++) {
    scanf("%d", &p);
    x[p] = 1;
  }
  for (i = 1; i <= t; i++)
    if (!x[i]) {
      f = 0;
      break;
    }
  if (f)
    puts("I become the guy.");
  else
    puts("Oh, my keyboard!");
}
