#include <bits/stdc++.h>
using namespace std;
int o, trues, Bruh, YO;
bool levls[696969];
int main() {
  int n, X;
  cin >> n;
  for (int a = 0; a < 2; a++) {
    cin >> Bruh;
    for (int AL = 0; AL < Bruh; AL++) {
      cin >> YO;
      levls[YO] = true;
    }
  }
  for (int x = 1; x <= n; x++) {
    if (levls[x] == true) trues++;
  }
  if (trues == n)
    cout << "I become the guy." << endl;
  else
    cout << "Oh, my keyboard!" << endl;
}
