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