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