#include <bits/stdc++.h>
using namespace std;
int n, p, q, a[300];
int main() {
  cin >> n >> p;
  for (int i = 0; i < p; i++) cin >> a[i];
  cin >> q;
  for (int i = p; i < p + q; i++) cin >> a[i];
  sort(a, a + p + q);
  int l = 1;
  for (int i = 0; i < p + q; i++) {
    if (a[i] == l) {
      l++;
    }
  }
  if (l == n + 1) {
    cout << "I become the guy." << endl;
  } else {
    cout << "Oh, my keyboard!" << endl;
  }
}
