#include <bits/stdc++.h>
using namespace std;
int main() {
  int n, i, p, q, a[1000], counter;
  cin >> n >> p;
  for (i = 0; i < p; i++) {
    cin >> a[i];
  }
  cin >> q;
  for (i = p; i < p + q; i++) {
    cin >> a[i];
  }
  sort(a, a + (p + q));
  for (i = 0; i < p + q; i++) {
    if (a[i] != a[i + 1]) counter++;
  }
  if (n == (counter))
    cout << "I become the guy.";
  else
    cout << "Oh, my keyboard!";
  return 0;
}
