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