#include <bits/stdc++.h>
using namespace std;
int main() {
  ios_base::sync_with_stdio(false);
  cin.tie(NULL);
  int n;
  cin >> n;
  int p;
  cin >> p;
  int q;
  int array[2 * n];
  for (int x = 0; x < p; x++) {
    cin >> array[x];
  }
  cin >> q;
  int w = 1;
  for (int x = 0; x < q; x++) {
    cin >> array[x + p];
  }
  sort(array, array + p + q);
  for (int x = 0; x < p + q; x++) {
    if (array[x] == w) {
      w++;
      if (w == n + 1) {
        break;
      }
    }
  }
  if (w == n + 1) {
    cout << "I become the guy.";
  } else {
    cout << "Oh, my keyboard!";
  }
  return 0;
}
