#include <bits/stdc++.h>
using namespace std;
int main() {
  ios_base::sync_with_stdio(false);
  cin.tie(NULL);
  int n, p, q, v;
  set<int> elements;
  cin >> n >> p;
  for (int i = 0; i < p; i++) {
    cin >> v;
    elements.insert(v);
  }
  cin >> q;
  for (int i = 0; i < q; i++) {
    cin >> v;
    elements.insert(v);
  }
  if (elements.size() >= n) {
    cout << "I become the guy.";
  } else {
    cout << "Oh, my keyboard!";
  }
}
