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