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