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