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