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