#include <bits/stdc++.h>
using namespace std;
signed main() {
  long long n;
  cin >> n;
  set<long long> s;
  long long p, q;
  cin >> p;
  vector<long long> x(p);
  for (long long i = 0; i < p; i++) {
    cin >> x[i];
    s.insert(x[i]);
  }
  cin >> q;
  vector<long long> y(q);
  for (long long i = 0; i < q; i++) {
    cin >> y[i];
    s.insert(y[i]);
  }
  if (s.size() == n)
    cout << "I become the guy." << endl;
  else
    cout << "Oh, my keyboard!" << endl;
}
