#include <bits/stdc++.h>
using namespace std;
int main() {
  int n;
  cin >> n;
  int y, x;
  cin >> y;
  int a[y];
  for (int i = 0; i < y; i++) {
    cin >> a[i];
  }
  cin >> x;
  int b[x];
  int maxx = y;
  if (y > x)
    maxx = y;
  else
    maxx = x;
  for (int i = 0; i < x; i++) {
    cin >> b[i];
  }
  for (int i = 1; i <= n; i++) {
    bool exist = false;
    for (int j = 0; j < maxx; j++) {
      if (a[j] == i || b[j] == i) {
        exist = true;
        break;
      } else
        exist = false;
    }
    if (!exist) {
      cout << "Oh, my keyboard!" << endl;
      return 0;
    }
  }
  cout << "I become the guy." << endl;
  return 0;
}
