#include <bits/stdc++.h>
using namespace std;
int main() {
  vector<int> level;
  int n;
  scanf("%d", &n);
  for (int i = 1; i <= n; i++) {
    level.push_back(i);
  }
  int p, val, q;
  scanf("%d", &p);
  set<int> player_level;
  for (int j = 0; j < p; j++) {
    scanf("%d", &val);
    player_level.insert(val);
  }
  scanf("%d", &q);
  for (int j = 0; j < q; j++) {
    scanf("%d", &val);
    player_level.insert(val);
  }
  int cnt = 0;
  for (int t = 0; t < level.size(); ++t) {
    int d = player_level.count(level[t]);
    if (d == 1) {
      cnt++;
    }
  }
  if (cnt == n) {
    printf("I become the guy.\n");
  } else {
    printf("Oh, my keyboard!\n");
  }
  return 0;
}
