#include <bits/stdc++.h>
using namespace std;
int main() {
  int n, p, q, i;
  cin >> n >> p;
  int levelsx[p], all[n];
  for (i = 0; i < n; i++) all[i] = 0;
  for (i = 0; i < p; i++) {
    cin >> levelsx[i];
    all[(levelsx[i] - 1)] = 1;
  }
  cin >> q;
  int levelsy[q];
  for (i = 0; i < q; i++) {
    cin >> levelsy[i];
    all[(levelsy[i] - 1)] = 1;
  }
  for (i = 0; i < n; i++) {
    if (all[i] == 0) {
      cout << "Oh, my keyboard!";
      return 0;
    }
  }
  cout << "I become the guy.";
  return 0;
}
