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