#include <bits/stdc++.h>
using namespace std;
int32_t main() {
  ios_base::sync_with_stdio(false);
  cin.tie(nullptr);
  cout.tie(nullptr);
  int n;
  int a, b;
  cin >> n >> a;
  vector<int> ar(a);
  for (int i = 0; i < a; i++) cin >> ar[i];
  cin >> b;
  vector<int> br(b);
  for (int i = 0; i < b; i++) cin >> br[i];
  sort(ar.begin(), ar.end());
  sort(br.begin(), br.end());
  int curlvl = 0;
  int i = 0, j = 0;
  while (i < a or j < b) {
    if (i < a and ar[i] == curlvl + 1) {
      i++;
      curlvl++;
    } else if (j < b and br[j] == curlvl + 1) {
      j++;
      curlvl++;
    } else {
      break;
    }
    while (i < a and ar[i] == curlvl) i++;
    while (j < b and br[j] == curlvl) j++;
  }
  if (curlvl >= n) {
    cout << "I become the guy.\n";
  } else {
    cout << "Oh, my keyboard!\n";
  }
  return 0;
}
