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