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