#include <bits/stdc++.h>
using namespace std;
long long int n, i;
int main() {
  int flag = 0, x, y, cunt = 0, cunt2 = 0;
  cin >> n;
  int p;
  cin >> p;
  int arr[10000];
  for (i = 0; i < p; i++) {
    cin >> x;
    arr[i] = x;
  }
  int q, j;
  cin >> q;
  for (j = 0; j < q; j++, i++) {
    cin >> y;
    arr[i] = y;
  }
  for (i = 0; i < p + q; i++) {
    for (j = i + 1; j < p + q; j++) {
      if (arr[i] == arr[j]) {
        arr[j] = -1;
      }
    }
    if (arr[i] >= 1 && arr[i] <= n) {
      cunt++;
    }
  }
  if (cunt == n) {
    cout << "I become the guy.";
  } else {
    cout << "Oh, my keyboard!";
  }
  return 0;
}
