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