#include <bits/stdc++.h>
using namespace std;
int n;
set<int> st;
int main() {
  cin >> n;
  int p, x;
  for (int i = 1; i <= 2; ++i) {
    cin >> p;
    for (int j = 1; j <= p; ++j) cin >> x, st.insert(x);
  }
  cout << ((st.size() == n) ? "I become the guy." : "Oh, my keyboard!");
}
