#include <bits/stdc++.h>
using namespace std;
int main() {
  int n, i, j, siz;
  cin >> n;
  int p[n], q[n];
  vector<int> v;
  vector<int> x;
  cin >> p[0];
  for (i = 1; i <= p[0]; i++) {
    cin >> p[i];
    v.push_back(p[i]);
  }
  cin >> q[0];
  for (i = 1; i <= q[0]; i++) {
    cin >> q[i];
    v.push_back(q[i]);
  }
  sort(v.begin(), v.end());
  for (i = 0; i < v.size(); i++) {
    if (v[i] != v[i + 1]) x.push_back(v[i]);
  }
  siz = x.size();
  if (siz == n)
    cout << "I become the guy.\n";
  else
    cout << "Oh, my keyboard!\n";
  return 0;
}
