#include <bits/stdc++.h>
using namespace std;
int ar[105];
int main() {
  bool b = true;
  int n, p, q, temp;
  cin >> n >> p;
  for (int i = 1; i <= p; i++) {
    cin >> temp;
    ar[temp]++;
  }
  cin >> q;
  for (int i = 1; i <= q; i++) {
    cin >> temp;
    ar[temp]++;
  }
  for (int i = 1; i <= n; i++) {
    if (ar[i] == 0) b = false;
  }
  if (b == true)
    cout << "I become the guy.\n";
  else
    cout << "Oh, my keyboard!\n";
  return 0;
}
