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