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